Bug 242365

Summary: fvwm2-2.5.20-3 : array subscript is above array bounds
Product: [openSUSE] openSUSE 10.3 Reporter: David Binderman <dcb314>
Component: X11 ApplicationsAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
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 2007-02-05 21:49:25 UTC
I just tried to compile package fvwm2-2.5.20-3
with the GNU C compiler version 4.3 snapshot 20070202.

The compiler said

Flocale.c:184: warning: array subscript is above array bounds

The source code is

                buf[4] = 0;

but

        char buf[4];

Suggest code rework.
Comment 1 Stefan Dirsch 2007-02-05 21:55:30 UTC

*** This bug has been marked as a duplicate of bug 240922 ***