[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0708030955330.495@fbirervta.pbzchgretzou.qr>
Date: Fri, 3 Aug 2007 09:56:30 +0200 (CEST)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: Guennadi Liakhovetski <g.liakhovetski@....de>
cc: Al Viro <viro@....linux.org.uk>,
Stefan Richter <stefanr@...6.in-berlin.de>,
Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org
Subject: Re: gcc fixed size char array initialization bug - known?
On Aug 3 2007 01:30, Guennadi Liakhovetski wrote:
>On Fri, 3 Aug 2007, Al Viro wrote:
>
>> It doesn't change the fact that use of c[4] or strlen(c) or strcpy(..., c)
>> means nasal demon country for you.
>
>Haha, funny. You, certainly, may think whatever you want, I'm anyway
>greatful to you and to all the rest for the trouble you took to find THE
>quote that actually answers the question.
So back to the topic - if you want to check whether the kernel
'accidentally' uses
char foo[4] = "abcd";
change gcc or sparse to warn about this and then sort out the pieces
which are good. :)
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists