#6163 False nullPointer for strtok(NULL, ...). Correct std.cfg
This commit is contained in:
parent
bbbe2c1b94
commit
98d4c944e3
|
@ -705,7 +705,6 @@
|
|||
<pure/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue