diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-02-28 14:47:33 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 11:17:08 +0300 |
| commit | 6cc0c259d034c6ab48f4e12f505213988e73d380 (patch) | |
| tree | a9b8e119686192eb3ea06d70f3cfca2c66bf1be6 /include/linux/platform_data | |
| parent | 2af5f669be1446a7db56c699265bc9e4cda92577 (diff) | |
| download | linux-6cc0c259d034c6ab48f4e12f505213988e73d380.tar.xz | |
staging: wilc1000: add check for kmalloc allocation failure.
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>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
