diff options
| author | Johan Hovold <johan@kernel.org> | 2017-03-13 15:44:21 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-03-22 12:03:37 +0300 |
| commit | ca260ece6a57dc7d751e0685f51fa2c55d851873 (patch) | |
| tree | 380dbd246d27897a2e4aa561e23f4d850187d304 /tools/perf/scripts/python | |
| parent | 5ce33b603063f36272fcfb1b4a5fde69f46eca88 (diff) | |
| download | linux-ca260ece6a57dc7d751e0685f51fa2c55d851873.tar.xz | |
zd1211rw: fix NULL-deref at probe
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory beyond the endpoint array should a
malicious device lack the expected endpoints.
Fixes: a1030e92c150 ("[PATCH] zd1211rw: Convert installer CDROM device into WLAN device")
Cc: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
