aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorShankari Anand <[email protected]>2025-06-25 19:06:54 +0000
committerMasahiro Yamada <[email protected]>2025-07-26 06:31:17 +0000
commitf468992936894c9ce3b1659cf38c230d33b77a16 (patch)
treec2f850cdbb7b5b3dd40e3f3389489bb5834f6036 /scripts/gcc-plugins/randomize_layout_plugin.c
parentkconfig: gconf: remove GtkHandleBox from glade (diff)
downloadkernel-f468992936894c9ce3b1659cf38c230d33b77a16.tar.gz
kernel-f468992936894c9ce3b1659cf38c230d33b77a16.zip
kconfig: nconf: Ensure null termination where strncpy is used
strncpy() does not guarantee null-termination if the source string is longer than the destination buffer. Ensure the buffer is explicitly null-terminated to prevent potential string overflows or undefined behavior. Signed-off-by: Shankari Anand <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Tested-by: Nicolas Schier <[email protected]> Acked-by: Nicolas Schier <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions