http://bugzilla.novell.com/show_bug.cgi?id=514370 Summary: kakasi-2.3.4-525.19: 2 * 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 kakasi-2.3.4-525.19 The build said 1. g2.c:36:21: warning: array subscript is above array bounds The source code is static unsigned char g2a_table[0x1f] = { 'O','=','h','f','c','l','O','+','n','v','+','+','+','+','+','-', '-','-','-','-','+','+','+','+','|','<','>','p','!','$','.'}; n[0].type = ASCII; if ((c->c1 >= 0x60) && (c->c1 < 0x7f)) { n[0].c1 = g2a_table[c->c1]; I agree with the compiler - an elementary programming error. Perhaps the last line should be n[ 0].c1 = g2a_table[ c->c1 - 0x60 ]; 2. g2.c:54:19: warning: array subscript is above array bounds Duplicate. -- 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.