mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
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 | ||