mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
kzalloc() return should always be checked - notably in example code
where this may be seen as reference. On failure of allocation in
livepatch_fix1_dummy_alloc() respectively dummy_alloc() previous
allocation is freed (thanks to Petr Mladek <pmladek@suse.com> for
catching this) and NULL returned.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| livepatch-callbacks-busymod.c | ||
| livepatch-callbacks-demo.c | ||
| livepatch-callbacks-mod.c | ||
| livepatch-sample.c | ||
| livepatch-shadow-fix1.c | ||
| livepatch-shadow-fix2.c | ||
| livepatch-shadow-mod.c | ||
| Makefile | ||