mirror of https://github.com/dynup/kpatch
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. |
||
---|---|---|
.. | ||
Makefile | ||
kpatch-macros.h | ||
kpatch-patch-hook.c | ||
kpatch-patch.h | ||
kpatch.h | ||
kpatch.lds | ||
livepatch-patch-hook.c | ||
patch-hook.c |