mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
bd17b7c34f
Decrement the index variable i before the first iteration when freeing
the remaining elements on error. Depending on where this fails it could
free something from one element beyond the end of the fru_records[]
array.
[ bp: Massage commit message. ]
Fixes:
|
||
---|---|---|
.. | ||
amd | ||
cec.c | ||
debugfs.c | ||
debugfs.h | ||
Kconfig | ||
Makefile | ||
ras.c |