Bug 137754 - bonobo-1.0.22-286: array suscript out of range
Summary: bonobo-1.0.22-286: array suscript out of range
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SUSE Other
: P5 - None : Minor
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 09:36 UTC by David Binderman
Modified: 2005-12-09 14:36 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.