Bug 137754

Summary: bonobo-1.0.22-286: array suscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-12-09 09:36:43 UTC
I just tried to compile package bonobo-1.0.22-286 with a non standard version
of the GNU C compiler. It said

efstool.c:47: warning: array subscript out of range

The source code is

	passwd[sizeof(passwd)] = 0;

Clearly broken code. Suggest

	passwd[ sizeof(passwd) - 1] = 0;

BTW, I tried emailing the author [ miguel@ximian.com ] and got no answer.
Comment 1 Stanislav Brabec 2005-12-09 14:36:53 UTC
Fixed in EDGE and supplementary.

bonobo-1.0.22 is a dead branch unmaintained since 2002 (and we plan to drop it after gnucash2 release), and bonobo-2.12 does not report this warning. Miguel now develops Mono.