diff options
Diffstat (limited to '')
-rw-r--r-- | lib/test_fortify/write_overflow-strncpy-src.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test_fortify/write_overflow-strncpy-src.c b/lib/test_fortify/write_overflow-strncpy-src.c new file mode 100644 index 000000000..8dcfb8c78 --- /dev/null +++ b/lib/test_fortify/write_overflow-strncpy-src.c @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strncpy(small, large_src, sizeof(small) + 1) + +#include "test_fortify.h" |