mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
In the object allocation loop, when kzalloc() for funcs fails, the
cleanup loop uses `objs[i].funcs` instead of `objs[j].funcs`. Since
`objs[i].funcs` is still NULL at that point, it repeatedly calls
kfree(NULL) and leaks all previously allocated funcs arrays.
Fixes:
|
||
|---|---|---|
| .. | ||
| fix-patch-lines | ||
| init.c | ||
| klp-build | ||
| Makefile | ||