https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178
--- Comment #20 from Alejandro Colomar <alx at kernel dot org> --- Hi Kees, (In reply to Kees Cook from comment #19) > Created attachment 59874 [details] > RFC for ignoring NUL byte with nonstring attribute > > Here's an RFC patch for allowing the NUL char truncation when the nonstring > attribute is present. I would s/exactly truncates/truncates/ in the diagnostic message. Cheers, Alex