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
segfault triggered by invalid read in S_mg_findext_flags #16742
Comments
From geeknik@protonmail.chWhile testing Perl v5.29.4-32-gf196658042, I discovered that ./perl -e '\grep% N&ep%\&hN,@N=hhN,*N=hNN&ep%\&hN,@N=hhN,,K' causes a segfault triggered by an invalid read as seen by the following stack trace: Operator or semicolon missing before &ep at -e line 1. UndefinedBehaviorSanitizer can not provide additional info. |
From @jkeenanOn Mon, 05 Nov 2018 14:41:32 GMT, geeknik@protonmail.ch wrote:
This code has thrown warnings since at least perl-5.8.4. ##### But it only resulted in a segfault starting in January 2012. ##### 60edcf0 is the first bad commit Better fix for perl #107440 :100644 100644 1671f16e401e21dce7ab7fd8c22188ee6cfb2a9d 472600b6f0ab2953d43d2d2a01b94a0695aaf282 M av.c Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @tonycozOn Mon, 05 Nov 2018 06:41:32 -0800, geeknik@protonmail.ch wrote:
Going by the code I suspect it's a stack-not-refcounted bug. @N is pushed, *N is modified (freeing the old @N), access to now invalid SV formerly known as @N. Tony |
Migrated from rt.perl.org#133640 (status was 'open')
Searchable as RT133640$
The text was updated successfully, but these errors were encountered: