summaryrefslogtreecommitdiff
path: root/mm/gup.c
diff options
context:
space:
mode:
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>2015-08-25 10:39:46 (GMT)
committerCasey Schaufler <casey@schaufler-ca.com>2015-10-09 22:12:46 (GMT)
commit5f2bfe2f1de8b745dc294acaf2ca2ad68e09b374 (patch)
tree0ba2486e5d6e7a3a4f5a5c4b61a5eaa21e72b3b7 /mm/gup.c
parent049e6dde7e57f0054fdc49102e7ef4830c698b46 (diff)
downloadlinux-5f2bfe2f1de8b745dc294acaf2ca2ad68e09b374.tar.xz
Smack: fix a NULL dereference in wrong smack_import_entry() usage
'commit e774ad683f42 ("smack: pass error code through pointers")' made this function return proper error codes instead of NULL. Reflect that. This is a fix for a NULL dereference introduced in 'commit 21abb1ec414c ("Smack: IPv6 host labeling")' echo "$SOME_IPV6_ADDR \"test" > /smack/ipv6host (this should return EINVAL, it doesn't) cat /smack/ipv6host (derefences 0x000a) Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@samsung.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions