diff options
| author | jvoisin | 2023-09-27 23:28:50 +0200 |
|---|---|---|
| committer | jvoisin | 2023-09-28 15:05:57 +0200 |
| commit | 3067c28ceb744b2bafe9202023084f762871e844 (patch) | |
| tree | 9337559b6230fc4620e47d9229c13489ac1c3913 /tests/test_printf.c | |
| parent | 81ef1fd8c55aae65d321b2730ff5da6b73d1e707 (diff) | |
Add `printf` hardening
Diffstat (limited to 'tests/test_printf.c')
| -rw-r--r-- | tests/test_printf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_printf.c b/tests/test_printf.c new file mode 100644 index 0000000..d444a52 --- /dev/null +++ b/tests/test_printf.c | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include "common.h" | ||
| 2 | |||
| 3 | #include <stdio.h> | ||
| 4 | |||
| 5 | int main(int argc, char** argv) { | ||
| 6 | printf("%s", "1234567"); | ||
| 7 | } | ||
