summaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/test_fortify/write_overflow-strcpy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test_fortify/write_overflow-strcpy.c b/lib/test_fortify/write_overflow-strcpy.c
new file mode 100644
index 000000000..84f1c56a6
--- /dev/null
+++ b/lib/test_fortify/write_overflow-strcpy.c
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+#define TEST \
+ strcpy(small, large_src)
+
+#include "test_fortify.h"