[perl #44027] [CAGE] In branch_branch, negative array indexes can happen

2008-06-17 Thread Will Coleda via RT
On Mon Jun 09 17:12:36 2008, [EMAIL PROTECTED] wrote: > On Tue Jul 17 22:23:38 2007, petdance wrote: > > In function branch_branch, there's a line like this: > > > >ins->r[get_branch_regno(ins)] = next->r[0]; > > > > That call to get_branch_regno() can return -1. That would make a > > nega

[perl #44027] [CAGE] In branch_branch, negative array indexes can happen

2008-06-09 Thread James Keenan via RT
On Tue Jul 17 22:23:38 2007, petdance wrote: > In function branch_branch, there's a line like this: > >ins->r[get_branch_regno(ins)] = next->r[0]; > > That call to get_branch_regno() can return -1. That would make a > negative array index, and stomp on who knows what. > Grepping ./compi