[Bug 512984] New: fontforge-20080429-41.19: array subscript is above array bounds
http://bugzilla.novell.com/show_bug.cgi?id=512984 Summary: fontforge-20080429-41.19: array subscript is above array bounds 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 tried to build Factory package fontforge-20080429-41.19 and the build said python.c:7944:19: warning: array subscript is above array bounds The source code is if ( names->names[i]!=NULL ) but char *names[ttf_namemax]; /* in utf8 */ and i has the value ttf_namemax. I agree with the compiler. 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.
http://bugzilla.novell.com/show_bug.cgi?id=512984
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=512984
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=512984#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=512984
http://bugzilla.novell.com/show_bug.cgi?id=512984#c
Hendrik Vogelsang
http://bugzilla.novell.com/show_bug.cgi?id=512984
http://bugzilla.novell.com/show_bug.cgi?id=512984#c2
Li Bin
participants (1)
-
bugzilla_noreply@novell.com