diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2016-02-03 21:39:43 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-02-25 12:55:27 +0300 |
| commit | 98e27cbd9453cd99403ee5f929a11a1000a3090b (patch) | |
| tree | aa5a863ee59e93b8ac9b717adebe52786b4bc92a /scripts/decode_stacktrace.sh | |
| parent | c1edece3c22be23cee3b28f74aecd1736ee816a1 (diff) | |
| download | linux-98e27cbd9453cd99403ee5f929a11a1000a3090b.tar.xz | |
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 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
