New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash in Perl_yyerror due to missing check for NULL #7954
Comments
From @millertCreated by @millertWe (OpenBSD) had a recent report of a simple perl script with $ cat > a.pl This behavior corresponded to a change in the OpenBSD malloc In this specific case, PL_oldbufptr is NULL and, depending on the The fix is to simply check that the buf ptr is non-NULL before Index: toke.cRCS file: /home/cvs/openbsd/src/gnu/usr.bin/perl/toke.c,v if (!yychar || (yychar == ';' && !PL_rsfp)) Perl Info
|
From @rgsTodd C. Miller wrote:
Thanks, your patch applied as change #24718 to bleadperl. |
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#36193 (status was 'resolved')
Searchable as RT36193$
The text was updated successfully, but these errors were encountered: