Red Hat Bugzilla – Bug 113376
subscript out of range
Last modified: 2007-11-30 17:10:35 EST
Description of problem:
I just tried to compile package bonobo-1.0.22-7, from Redhat
Fedora Core 1.
The compiler said
efstool.c(47): warning #175: subscript out of range
The source code is
passwd[sizeof(passwd)] = 0;
Better code would be
passwd[ sizeof( passwd) - 1 ] = 0;
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Still broken in Fedora Core 2
Same goes for what I said in bug #111018 unfortunately. This code is
even more obsolete - the EFS code was never used at runtime AFAIK and
has since been removed from bonobo. Also, the package - being a GNOME
1.4 package - is only kept for compatibitity reasons. Thanks.
>the EFS code ... has since been removed from bonobo.
Strange. Same bug still appears to exist in the version of bonobo
available 08 March 2005.
>is only kept for compatibitity reasons.
Even stranger. The version number keeps going up, so someone's doing
some development of it.
The package "bonobo" is a GNOME 1.4 package. The GNOME 2.x version is
The last version of bonobo released was in December 2002:
The release number (i.e. from -9 to -10) went up recently because it
was rebuilt with gcc4.