diff options
Diffstat (limited to 'debug')
-rw-r--r-- | debug/tst-fortify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debug/tst-fortify.c b/debug/tst-fortify.c index d65a2fe..03c9867 100644 --- a/debug/tst-fortify.c +++ b/debug/tst-fortify.c @@ -1504,6 +1504,11 @@ do_test (void) CHK_FAIL_END #endif + /* Bug 29030 regresion check */ + cp = "HelloWorld"; + if (mbsrtowcs (NULL, &cp, (size_t)-1, &s) != 10) + FAIL (); + cp = "A"; if (mbstowcs (wenough, cp, 10) != 1 || wcscmp (wenough, L"A") != 0) |