https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117833 --- Comment #6 from Ian Lance Taylor <ian at airs dot com> --- The code is safe but I can see that it would be difficult for the compiler to see that. I'll increase the buffer size.