mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +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 |