You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a1b0d19
Browse filesBrowse the repository at this point in the historyBrowse files
Fixedcppcheck-opensource#3688 (false positive: (inconclusive, posix) (warning) The buffer 'cBuffer' is not zero-terminated after the call to readlink().)
@@ -3988,7 +3995,7 @@ class TestBufferOverrun : public TestFixture {
3988
3995
" ssize_t len = readlinkat(42, path, buf, 254);\n"
3989
3996
" printf(\"%s\n\", buf);\n"
3990
3997
"}");
3991
-
ASSERT_EQUALS("[test.cpp:3]: (warning, inconclusive) The buffer 'buf' is not null-terminated after the call to readlinkat().\n", errout.str());
3998
+
TODO_ASSERT_EQUALS("[test.cpp:3]: (warning, inconclusive) The buffer 'buf' is not null-terminated after the call to readlinkat().\n", "", errout.str());
0 commit comments