summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-02-03 13:39:43 -0500
committerKalle Valo <kvalo@codeaurora.org>2016-02-25 11:55:27 +0200
commit98e27cbd9453cd99403ee5f929a11a1000a3090b (patch)
treeaa5a863ee59e93b8ac9b717adebe52786b4bc92a /lib/mpi/mpi-bit.c
parentc1edece3c22be23cee3b28f74aecd1736ee816a1 (diff)
rtl8xxxu: Check return value of kmemdup()
In rtl8xxxu_load_firmware() check the return value of kmemdup() and error out with -ENOMEM in case of NULL to prevent a NULL pointer dereference. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions