diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-13 13:44:21 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-03-22 11:03:37 +0200 |
commit | ca260ece6a57dc7d751e0685f51fa2c55d851873 (patch) | |
tree | 380dbd246d27897a2e4aa561e23f4d850187d304 /certs | |
parent | 5ce33b603063f36272fcfb1b4a5fde69f46eca88 (diff) | |
download | blackbird-op-linux-ca260ece6a57dc7d751e0685f51fa2c55d851873.tar.gz blackbird-op-linux-ca260ece6a57dc7d751e0685f51fa2c55d851873.zip |
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 'certs')
0 files changed, 0 insertions, 0 deletions