diff options
| author | 2022-02-28 23:12:55 -0800 | |
|---|---|---|
| committer | 2022-02-28 23:12:55 -0800 | |
| commit | 1136fa0c07de570dc17858745af8be169d1440ba (patch) | |
| tree | 3221b003517dd3cb13df5ba4b85637cd9ed82692 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | Input: samsung-keypad - properly state IOMEM dependency (diff) | |
| parent | Linux 5.17-rc4 (diff) | |
| download | linux-dev-1136fa0c07de570dc17858745af8be169d1440ba.tar.xz linux-dev-1136fa0c07de570dc17858745af8be169d1440ba.zip | |
Merge tag 'v5.17-rc4' into for-linus
Merge with mainline to get the Intel ASoC generic helpers header and
other changes.
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
| -rw-r--r-- | lib/test_fortify/write_overflow-strlcpy-src.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test_fortify/write_overflow-strlcpy-src.c b/lib/test_fortify/write_overflow-strlcpy-src.c new file mode 100644 index 000000000000..91bf83ebd34a --- /dev/null +++ b/lib/test_fortify/write_overflow-strlcpy-src.c @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only +#define TEST \ + strlcpy(small, large_src, sizeof(small) + 1) + +#include "test_fortify.h" |
