Open Eladio opened 13 years ago
Hi! I'm Biszak Előd, I'm a hungarian developer, I've been using pyPdf and realized there's a bug int the ASCII85Decode class' decode function. When c=='z' the variable x doesn't increment, so the function remains in an infinite loop.
elif c == 'z': assert len(group) == 0 retval += '\x00\x00\x00\x00' continue
should be:
elif c == 'z': assert len(group) == 0 retval += '\x00\x00\x00\x00' x += 1 continue
Hi! I'm Biszak Előd, I'm a hungarian developer, I've been using pyPdf and realized there's a bug int the ASCII85Decode class' decode function. When c=='z' the variable x doesn't increment, so the function remains in an infinite loop.
should be: