aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-02-06 09:03:24 -0800
committerJuergen Gross <[email protected]>2024-02-13 09:06:48 +0100
commitbf5802238dc181b1f7375d358af1d01cd72d1c11 (patch)
tree82870de17d881908450fe5d78509b1dea56c8874 /lib/test_fortify/write_overflow-strncpy-src.c
parentb0f2f82c9c16427722b8782371c2efe82b1f815c (diff)
xen/gntalloc: Replace UAPI 1-element array
Without changing the structure size (since it is UAPI), add a proper flexible array member, and reference it in the kernel so that it will not be trip the array-bounds sanitizer[1]. Link: https://github.com/KSPP/linux/issues/113 [1] Cc: Juergen Gross <[email protected]> Cc: Stefano Stabellini <[email protected]> Cc: Oleksandr Tyshchenko <[email protected]> Cc: Gustavo A. R. Silva <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions