#6163 False nullPointer for strtok(NULL, ...). Correct std.cfg

This commit is contained in:
Alexander Mai 2014-09-15 20:57:34 +02:00
parent bbbe2c1b94
commit 98d4c944e3
2 changed files with 3 additions and 1 deletions

View File

@ -705,7 +705,6 @@
<pure/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">

View File

@ -2572,6 +2572,9 @@ private:
ASSERT_EQUALS("",errout.str());
check("size_t get (wchar_t *value) { return wcstombs (NULL, value, 0); }");
ASSERT_EQUALS("",errout.str());
check("void f() { strtok(NULL, 'x');}");
ASSERT_EQUALS("",errout.str());
}
void nullpointerFputc() {