Re: [BUG] in drivers/char/joystick/magellan.c

From: Jörn Engel (joern@wohnheim.fh-wedel.de)
Date: Wed Jan 29 2003 - 07:25:50 EST


On Tue, 28 January 2003 22:03:53 +0100, Vojtech Pavlik wrote:
> On Tue, Jan 28, 2003 at 10:47:35AM -0800, Randy.Dunlap wrote:
> >
> > An array of character type may be initialized by a character string
> > literal, optionally enclosed in braces. Successive characters of the
> > character string literal (including the terminating null character if
> > there is room or if the array is of unknown size) initialize the
> > elements of the array.
>
> Which means it was OK.

Agreed. objdump -s gives the following:

 0040 30414233 44353647 48393a4b 3c4d4e3f 0AB3D56GH9:K<MN?
 0050 ffffffff 00000000 60010000 e0010000 ........`.......

So gcc does follow the spec here. (redhat gcc 2.96)

Thank you for the clarification, Martin and Randy.

Jörn

-- 
"Security vulnerabilities are here to stay."
-- Scott Culp, Manager of the Microsoft Security Response Center, 2001
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:22 EST