mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00: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_parport.c | ||
pps-gpio.c | ||
pps-ktimer.c | ||
pps-ldisc.c |