Commit 01c7344e authored by Junjie Cao's avatar Junjie Cao Committed by Kees Cook
Browse files

lkdtm: fortify: Fix potential NULL dereference on kmalloc failure



Add missing NULL pointer checks after kmalloc() calls in
lkdtm_FORTIFY_STR_MEMBER() and lkdtm_FORTIFY_MEM_MEMBER() functions.

Signed-off-by: default avatarJunjie Cao <junjie.cao@intel.com>
Link: https://lore.kernel.org/r/20250814060605.5264-1-junjie.cao@intel.com


Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent c17b750b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment