aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2023-12-05 10:26:14 -0800
committerKees Cook <[email protected]>2023-12-08 14:15:44 -0800
commit6ba6ee8a59a8ac673d9a9415bdf1d0a27990dc45 (patch)
tree4b816d7202e3d26d49fbcb387b8baeecac064958 /lib/test_fortify/write_overflow-strncpy-src.c
parent86222a8fc16ec517de8da2604d904c9df3a08e5d (diff)
pstore: inode: Convert kfree() usage to __free(kfree)
Mostly as an example to myself, replace a simple allocation pattern with the automatic kfree cleanup features now exposed by cleanup.h. Cc: Guilherme G. Piccoli <[email protected]> Cc: Tony Luck <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions