https://bugzilla.novell.com/show_bug.cgi?id=239175 Summary: powersave-0.15.10-15: array subscript is above array bounds Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other 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 I just tried to compile package powersave-0.15.10-15 with the new GNU compiler version 4.3 snapshot 20070119 The compiler said pm_interface.cpp:314: warning: array subscript is above array bounds The source code is for (x = 0; config_obj->current_scheme->thermal_zones[x].present && ((state = getThermalZoneState(x)) >= OK) && x < MAX_THERMAL_ZONES; x++) { Maybe the programmer intended for (x = 0; (x < MAX_THERMAL_ZONES) && (config_obj->current_scheme->thermal_zones[x].present) && ((state = getThermalZoneState(x)) >= OK); x++) { -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.