From 3067c28ceb744b2bafe9202023084f762871e844 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 27 Sep 2023 23:28:50 +0200 Subject: Add `printf` hardening --- tests/test_printf.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/test_printf.c (limited to 'tests/test_printf.c') 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 @@ +#include "common.h" + +#include + +int main(int argc, char** argv) { + printf("%s", "1234567"); +} -- cgit v1.3