From 27d750b3a12e2fc12f2b9ae1121bc2749b53b1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 11 Mar 2019 13:43:15 +0100 Subject: [PATCH] Travis: Fix 'make checkcfg' --- test/cfg/std.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cfg/std.c b/test/cfg/std.c index 2ee1063f5..397bfa591 100644 --- a/test/cfg/std.c +++ b/test/cfg/std.c @@ -60,14 +60,14 @@ void bufferAccessOutOfBounds(void) strncpy_s(a,5,"abcd",5); // string will be truncated, error is returned, but no buffer overflow strncpy_s(a,5,"abcde",6); - // cppcheck-suppress bufferAccessOutOfBounds + // TODO cppcheck-suppress bufferAccessOutOfBounds strncpy_s(a,5,"a",6); strncpy_s(a,5,"abcdefgh",4); // valid call strncat_s(a,5,"1",2); // cppcheck-suppress bufferAccessOutOfBounds strncat_s(a,10,"1",2); - // cppcheck-suppress bufferAccessOutOfBounds + // TODO cppcheck-suppress bufferAccessOutOfBounds strncat_s(a,5,"1",5); fread(a,1,5,stdin); // cppcheck-suppress bufferAccessOutOfBounds