aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2022-05-11 12:56:20 +0530
committerMartin K. Petersen <[email protected]>2022-05-19 20:16:25 -0400
commit8e129add48e0c35a8f1bf5df91f50a438dd75ba6 (patch)
treeb9f6175466c2764de06f20405c6d3a4129695cfa /lib/test_fortify/write_overflow-strlcpy-src.c
parentaabd5fea49461c7b3a70d7aaa965e8cb3f19b7e7 (diff)
scsi: mpt3sas: Fix junk chars displayed while printing ChipName
Terminate string after copying 16 bytes of ChipName data from Manufacturing Page0 to prevent %s from printing junk characters. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions