https://bugs.kde.org/show_bug.cgi?id=401284
--- Comment #13 from AL <l...@ncbi.nlm.nih.gov> --- >BTW. The gcc 13 does produce a pretty clear warning for this code if we help >it see the exact length >vbug.c:11:5: warning: ‘strncat’ output truncated before terminating nul >copying 7 bytes from a string of the same length [-Wstringop-truncation] > 11 | strncat(buf + len, buf, len); TBH, I don't understand what GCC is blabbering about here. Is there somehow a problem with what strncat() can handle or how can it be used? Like I said, The usefulness or adequacy of some of the GCC warnings exceed the acceptable noise levels, lately. They went haywire with those things, without much thinking of how disruptive and distracting they can get... -- You are receiving this mail because: You are watching all bug changes.