73c1928a00
[ Upstream commit 62c5a01a5711c8e4be8ae7b6f0db663094615d48 ]
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:
|
||
---|---|---|
.. | ||
clients | ||
generators | ||
Kconfig | ||
Makefile | ||
kapi.c | ||
kc.c | ||
kc.h | ||
pps.c | ||
sysfs.c |