diff options
Diffstat (limited to 'lib/test_fortify/read_overflow2-memcpy.c')
-rw-r--r-- | lib/test_fortify/read_overflow2-memcpy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test_fortify/read_overflow2-memcpy.c b/lib/test_fortify/read_overflow2-memcpy.c new file mode 100644 index 000000000000..07b62e56cf16 --- /dev/null +++ b/lib/test_fortify/read_overflow2-memcpy.c @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + memcpy(large, instance.buf, sizeof(large)) + +#include "test_fortify.h" |