pack underflow #14525
pack underflow #14525
Comments
From @hvdsAFL (<http://lcamtuf.coredump.cx/afl/>) finds this: % ./miniperl -e 'pack "pi/x"' This occurs because the NEXTFROM macro leaves items == -1, and we then end up trying to Zero(cur, len, char) with len == -1. The code fix is below, will push once I've added a test. Hugo --- a/pp_pack.c -#define NEXTFROM (lengthcode ? lengthcode : items-- > 0 ? *beglist++ : &PL_sv_no) switch (howlen) { |
@hvds - Status changed from 'new' to 'pending release' |
From @khwilliamsonThank you for submitting this ticket. The issue should now be resolved with the release today of Perl v5.22, which is available at http://www.perl.org/get.html |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#123874 (status was 'resolved')
Searchable as RT123874$
The text was updated successfully, but these errors were encountered: