diff --git a/cfg/std.cfg b/cfg/std.cfg
index 441e44378..249e57ba4 100644
--- a/cfg/std.cfg
+++ b/cfg/std.cfg
@@ -1893,6 +1893,7 @@
+
@@ -1909,6 +1910,7 @@
+
@@ -1924,6 +1926,7 @@
+
@@ -1940,6 +1943,7 @@
+
@@ -2043,6 +2047,7 @@
+
@@ -2059,10 +2064,12 @@
+
+
@@ -2163,6 +2170,7 @@
+
@@ -2175,6 +2183,7 @@
+
@@ -2189,6 +2198,7 @@
+
@@ -2316,6 +2326,7 @@
+
@@ -2391,6 +2402,7 @@
+
@@ -3411,6 +3423,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -3423,6 +3436,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -3435,6 +3449,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4101,6 +4116,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4320,6 +4336,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4330,6 +4347,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4340,6 +4358,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4667,6 +4686,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4677,10 +4697,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
+
@@ -4707,6 +4729,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4717,6 +4740,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4921,6 +4945,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4954,6 +4979,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4979,6 +5005,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -4998,6 +5025,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -5015,6 +5043,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -5041,6 +5070,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -5061,6 +5091,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -5292,10 +5323,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
+
@@ -5357,10 +5390,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
+
@@ -5441,6 +5476,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -6053,6 +6089,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -6108,6 +6145,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -6164,6 +6202,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -6183,6 +6222,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -6205,12 +6245,14 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
+
@@ -6225,6 +6267,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -6234,11 +6277,13 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
+
@@ -6249,6 +6294,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -8093,6 +8139,7 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
+
diff --git a/test/cfg/std.cpp b/test/cfg/std.cpp
index 927c865c3..88263c671 100644
--- a/test/cfg/std.cpp
+++ b/test/cfg/std.cpp
@@ -36,6 +36,14 @@
#include
#include
+void invalidFunctionArgStr_fprintf(FILE *stream, const char *format)
+{
+ const char formatBuf[] = {'%','d'};
+ // cppcheck-suppress invalidFunctionArgStr
+ (void)fprintf(stream,formatBuf,42);
+ (void)fprintf(stream,format,42);
+}
+
void invalidFunctionArgStr_fopen(const char * const fileName, const char * const mode)
{
const char fileNameBuf[] = {'f','i','l','e'};