mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 13:03:25 +01:00
62c5a01a57
In parport_attach, the return value of ida_alloc is unchecked, witch leads
to the use of an invalid index value.
To address this issue, index should be checked. When the index value is
abnormal, the device should be freed.
Found by code review, compile tested only.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pps-gpio.c | ||
pps-ktimer.c | ||
pps-ldisc.c | ||
pps_parport.c |