summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2024-07-11 18:56:36 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-03 04:22:41 +0300
commita62193abae75f3c3f68bbc7d3343751644140556 (patch)
treea8db1fc5b78281cacfecb22d7eb62c55a35752c2 /lib/test_fortify/write_overflow-strncpy-src.c
parent41bb96296f9d3a92f3b52bcf502d6c0e86fa84a0 (diff)
downloadlinux-a62193abae75f3c3f68bbc7d3343751644140556.tar.xz
scsi: mpi3mr: struct mpi3_sas_io_unit_page1: Replace 1-element array with flexible array
Replace the deprecated[1] use of a 1-element array in struct mpi3_sas_io_unit_page1 with a modern flexible array. No binary differences are present after this conversion. Link: https://github.com/KSPP/linux/issues/79 [1] Signed-off-by: Kees Cook <kees@kernel.org> Link: https://lore.kernel.org/r/20240711155637.3757036-4-kees@kernel.org Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions