summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjvoisin2024-10-10 01:20:07 +0200
committerjvoisin2024-10-10 01:51:34 +0200
commitc3b48c6b0bf501802295c85b1cf54275d6b74883 (patch)
treedf2289a83d7a4d2a5d2c29ff0dfb518db69f46eb /tests
parentf8155f0b945c5cfb3600d7c146a5d86870ed09d2 (diff)
Disable snprintf/sprintf hardening for now2.3.2
Diffstat (limited to 'tests')
-rw-r--r--tests/test_asprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_asprintf.c b/tests/test_asprintf.c
index a02d110..67723e8 100644
--- a/tests/test_asprintf.c
+++ b/tests/test_asprintf.c
@@ -11,10 +11,12 @@ int main(int argc, char** argv) {
11 puts(buf); 11 puts(buf);
12 free(buf); 12 free(buf);
13 13
14#if 0
14#ifndef __clang__ 15#ifndef __clang__
15 asprintf(&buf, "total: %", 1); 16 asprintf(&buf, "total: %", 1);
16 assert(buf == NULL); 17 assert(buf == NULL);
17#endif 18#endif
19#endif
18 20
19 return 0; 21 return 0;
20} 22}