mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
5f30b2e823
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 |