diff --git a/cfg/posix.cfg b/cfg/posix.cfg
index d4e8e5ce6..c17e0c153 100644
--- a/cfg/posix.cfg
+++ b/cfg/posix.cfg
@@ -1993,6 +1993,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
+
@@ -2013,6 +2014,27 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
0:
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+ 0:
+
+
diff --git a/test/cfg/posix.c b/test/cfg/posix.c
index 0557c2dc1..97f7bd438 100644
--- a/test/cfg/posix.c
+++ b/test/cfg/posix.c
@@ -31,6 +31,15 @@
#include
#include
+int nullPointer_wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
+{
+ // cppcheck-suppress nullPointer
+ (void)wcsncasecmp(NULL,s2,n);
+ // cppcheck-suppress nullPointer
+ (void)wcsncasecmp(s1,NULL,n);
+ return wcsncasecmp(s1,s2,n);
+}
+
int uninitvar_wcwidth(const wchar_t c)
{
wchar_t wc;