[Bug 251195] New: iputils-ss021109-198 : array subscript is above array bounds
https://bugzilla.novell.com/show_bug.cgi?id=251195 Summary: iputils-ss021109-198 : array subscript is above array bounds Product: openSUSE 10.3 Version: Alpha 1plus Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to build package iputils-ss021109-198 with the GNU C compiler 4.3 snapshot 20070302. The compiler said traceroute6.c:724: warning: array subscript is above array bounds The source code is if (t >= 128 && t <= 132) { return (ttab2[t]); } but static char *ttab2[] = { "Echo Reply", "Echo Request", "Membership Query", "Membership Report", "Membership Reduction", }; This looks like broken code. Suggest code rework. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=251195 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |ms@novell.com |screening@forge.provo.novell| |.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=251195 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from ms@novell.com 2007-03-06 01:16 MST ------- This looks really broken... fixed -- 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.
participants (1)
-
bugzilla_noreply@novell.com