Bug 137565 - bbtools-2005.12.1-2: array subscript out of range
Summary: bbtools-2005.12.1-2: array subscript 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: Hendrik Vogelsang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 12:37 UTC by David Binderman
Modified: 2006-01-16 14:35 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-08 12:37:30 UTC
I just tried to compile package bbtools-2005.12.1-2 with a non standard version
of the GNU C compiler. It said

1.

wminterface.cc:71: warning: array subscript out of range

The source code is

	e.xclient.data.l[4] = e.xclient.data.l[5] = 0;

but in the X11 header files, the array l has only five elements,

        union {
                char b[20];
                short s[10];
                long l[5];
                } data;
} XClientMessageEvent;

so e.xclient.data.l[5] does not exist.  Suggest code rework.

2.

wminterface.cc:74: warning: array subscript out of range
wminterface.cc:87: warning: array subscript out of range

Duplicates.

I tried emailing the author [ j.m.b.m.kennis@ele.tue.nl ] but I got no
answer.
Comment 1 Hendrik Vogelsang 2006-01-16 14:35:20 UTC
fixed