diff options
| author | Junjie Cao <junjie.cao@intel.com> | 2025-08-14 09:06:05 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2025-09-09 06:15:36 +0300 |
| commit | 01c7344e21c2140e72282d9d16d79a61f840fc20 (patch) | |
| tree | 7da28576a7e86810f4f1d982643a408ff85300f2 /scripts/lib | |
| parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) | |
| download | linux-01c7344e21c2140e72282d9d16d79a61f840fc20.tar.xz | |
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 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
