Bug 135587

Summary: xaw3d-1.5E-226: 2 * array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: X11 ApplicationsAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-11-26 12:27:06 UTC
I just tried to compile package xaw3d-1.5E-226 with the Intel C compiler

It said

Scrollbar.c(656): warning #175: subscript out of range
Scrollbar.c(657): warning #175: subscript out of range

The source code is

            tpt[4] = opt[4];
            tpt[5] = opt[5];

but

    XPoint      tpt[4];         /* temporary for args to XFillPolygon */

Suggest code rework.

BTW, the email address of the author [ hawkeyd@visi.com ]
seems to be dead.
Comment 1 Dr. Werner Fink 2005-11-29 15:10:28 UTC
Fixed for next release.