summaryrefslogtreecommitdiff
path: root/mm/gup.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-28 11:47:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-22 09:23:19 +0100
commite6e7ba9d76af6ae8b223e7e8a68c2daaa3ffb789 (patch)
treea6c72117f516cdeb2e5d5c9b27c2b1967911377f /mm/gup.c
parentc2e4c685b3c97bbf6210602cbe5791c468a31fdd (diff)
staging: wilc1000: add check for kmalloc allocation failure.
[ Upstream commit 6cc0c259d034c6ab48f4e12f505213988e73d380 ] Add a sanity check that wid.val has been allocated, fixes a null pointer deference on stamac when calling ether_add_copy. Detected by CoverityScan, CID#1369537 ("Dereference null return value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions