posix.cfg: Cleanup test case.
This commit is contained in:
parent
49057543a1
commit
c7ab35613e
|
@ -48,7 +48,7 @@ int nullPointer_wcsnlen(const wchar_t *s, size_t n)
|
||||||
return wcsnlen(s, n);
|
return wcsnlen(s, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t bufferAccessOutOfBounds_wcsnlen(const wchar_t *s, size_t maxlen)
|
size_t bufferAccessOutOfBounds_wcsnlen(void) // #10997
|
||||||
{
|
{
|
||||||
wchar_t buf[2]={L'4',L'2'};
|
wchar_t buf[2]={L'4',L'2'};
|
||||||
size_t len = wcsnlen(buf,2);
|
size_t len = wcsnlen(buf,2);
|
||||||
|
|
Loading…
Reference in New Issue