http://bugzilla.novell.com/show_bug.cgi?id=517294 Summary: spu-tools-2.3.0-3.2: bad symbolic array index into static array Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package spu-tools-2.3.0-3.2 For source code file spu-tools-2.3.0/spu-top.c around line 161 is the source code mvprintw(3, 0, "Cpu(s):%5.1f%%us,%5.1f%%sys,%5.1f%%wait,%5.1f%%nice,%5.1f%%idle", percents[TIME_USER], percents[TIME_SYSTEM], percents[TIME_IOWAIT], percents[TIME_NICE], percents[TIME_IDLE]); but static float percents[TIME_TOTAL]; and enum time { TIME_USER=0, TIME_NICE, TIME_SYSTEM, TIME_IOWAIT, TIME_LOADED, TIME_TOTAL, TIME_IDLE, TIME_MAX }; so an array of size 5 has an index of size 6 applied to it, by TIME_IDLE. Suggest code rework. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.