mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 06:20:02 +02:00
The agilent_82357a driver uses the USB device serial string for device
matching but does not verify that the string exists before passing it
to strcmp().
Verify that the device has a serial number before accessing it to avoid
triggering a NULL-pointer dereference with devices that don't provide
a serial number (iSerialNumber = 0).
Similar to commit
|
||
|---|---|---|
| .. | ||
| agilent_82357a.c | ||
| agilent_82357a.h | ||
| Makefile | ||