aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/node.c
diff options
context:
space:
mode:
authorDavid Wang <[email protected]>2024-11-20 05:30:55 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-22 14:31:35 +0000
commitacfeb6defcb9310b1ff44db1e633798ba766337d (patch)
treeaae532b7933945de4d4d8b045e75627fa5876234 /drivers/base/node.c
parentcpu: Remove spurious NULL in attribute_group definition (diff)
downloadkernel-acfeb6defcb9310b1ff44db1e633798ba766337d.tar.gz
kernel-acfeb6defcb9310b1ff44db1e633798ba766337d.zip
Fix a potential abuse of seq_printf() format string in drivers
Using device name as format string of seq_printf() is proned to "Format string attack", opens possibility for exploitation. Seq_puts() is safer and more efficient. Signed-off-by: David Wang <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions