mirror of
https://github.com/dynup/kpatch
synced 2024-12-24 14:12:06 +00:00
9e223369ea
Fixes issue #494. A null pointer dereference can result with patch modules for multiple objects since the "vmlinux" patch object's "name" field is null. strcmp therefore crashes trying to compare object->name if the current object is vmlinux and the supplied "name" argument is not. Check that object->name is not null before invoking strcmp. |
||
---|---|---|
.. | ||
kpatch-macros.h | ||
kpatch-patch-hook.c | ||
kpatch-patch.h | ||
kpatch.h | ||
kpatch.lds | ||
livepatch-patch-hook.c | ||
Makefile | ||
patch-hook.c |