Closed AlexBurnes closed 5 years ago
With DEBUGGING at least I get a proper crash. Looking at it. Nice test case, thanks!
The problem is that the \$buf
arg is freed in leavesub, leave_scope, and not properly assigned back to the original value as planned.
Fixed with 5.30.0c, thanks for the nice test case.
Return value for variable in list from signature function is wrong aligned by 8 bits left
The code was taken from an asn1 decoder library, the code in both functions are the same except the way function arguments are initiated:
/opt/cperl-5.28.2/bin/cperl ./test_signature.pl 5f813a id => 186 5f813a id => 47616, shifted id => 186
The same for cperl 5.24.4, 5.26.5. Perl 5.26.1 has no issue. If variable $etag remove from return list than value in variable id is ok.