Added +1 to maxo at Malcom's suggestion. AIX will probably stil
get bad free().
save_hptr(&defstash);
save_aptr(&endav);
SAVEPPTR(op_mask);
- Newz(666, op_mask, maxo, char);
+ Newz(666, op_mask, maxo+1, char);
SAVEFREEPV(op_mask);
str = SvPV(mask, len);
if (maxo != len)
CODE:
int i, j;
char *mask, *op;
- Newz(666, mask, maxo, char);
+ Newz(666, mask, maxo+1, char);
for (i = 0; i < items; i++)
{
op = SvPV(ST(i), na);