Files
linux-apfs/drivers/uwb
Johan Hovold daf229b159 uwb: hwa-rc: fix NULL-deref at probe
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Note that the dereference happens in the start callback which is called
during probe.

Fixes: de520b8bd5 ("uwb: add HWA radio controller driver")
Cc: stable <stable@vger.kernel.org>     # 2.6.28
Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Cc: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-14 17:07:30 +08:00
..
…
…
…
…
2015-10-24 19:52:53 -07:00
…
2017-03-14 17:07:30 +08:00
…
…
…
…
2016-11-01 09:04:04 -06:00
…
2015-10-24 19:52:53 -07:00
2016-11-01 09:04:04 -06:00
…
…
2015-10-24 19:52:53 -07:00
…
…
…
2015-12-01 14:26:33 -08:00
…
…