[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87a7o4dyug.fsf@igel.home>
Date: Wed, 26 Sep 2018 18:09:59 +0200
From: Andreas Schwab <schwab@...ux-m68k.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Randy Dunlap <rdunlap@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>
Subject: Re: m68k allmodconfig build errors
On Sep 26 2018, Geert Uytterhoeven <geert@...ux-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@...ux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Powered by blists - more mailing lists