mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-09 13:22:19 +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:
|
||
|---|---|---|
| .. | ||
| 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 | ||