summaryrefslogtreecommitdiff
path: root/lib/bitmap-str.c
diff options
context:
space:
mode:
authorJunjie Cao <junjie.cao@intel.com>2025-08-14 14:06:05 +0800
committerKees Cook <kees@kernel.org>2025-09-08 20:15:36 -0700
commit01c7344e21c2140e72282d9d16d79a61f840fc20 (patch)
tree7da28576a7e86810f4f1d982643a408ff85300f2 /lib/bitmap-str.c
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff)
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: Junjie Cao <junjie.cao@intel.com> Link: https://lore.kernel.org/r/20250814060605.5264-1-junjie.cao@intel.com Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib/bitmap-str.c')
0 files changed, 0 insertions, 0 deletions