aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorWang Long <[email protected]>2015-11-05 18:51:18 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commite0d57714394f5e2ce4e2f9bbebf48e3c7a7fd3be (patch)
tree2da40842cee7132a446b023d49f51dabed0bc534 /lib/netdev-notifier-error-inject.c
parentf523e737c08f5daaec9fac017e1bc5695e6f2760 (diff)
kasan: Fix a type conversion error
The current KASAN code can not find the following out-of-bounds bugs: char *ptr; ptr = kmalloc(8, GFP_KERNEL); memset(ptr+7, 0, 2); the cause of the problem is the type conversion error in *memory_is_poisoned_n* function. So this patch fix that. Signed-off-by: Wang Long <[email protected]> Acked-by: Andrey Ryabinin <[email protected]> Cc: Vladimir Murzin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions