Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: m68k allmodconfig build errors | Date | Wed, 26 Sep 2018 18:09:59 +0200 |
| |
On Sep 26 2018, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> Isn't gcc-8 just assuming that any char array must contain a valid > NUL-terminated string, unless it is tagged with the nonstring attribute?
No, only if you call strncpy on it and make it potentially non-terminated.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
| |