-
Notifications
You must be signed in to change notification settings - Fork 540
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
null ptr deref, segfault in Perl_do_aexec5 (doio.c:1595) #15660
Comments
From @geeknikTriggered with AFL+ASAN in Perl v5.25.6 (v5.25.5-104-gaff2be5). od -tx1 test274 Number found where operator expected at test274 line 1, near "$p0"
|
From @geeknik |
From @hvdsIn short: % ./miniperl -we '$SIG{__WARN__} = sub { exec }; exec $p 0;' Fetching the exec arguments in do_aexec5() can trigger arbitrary perl code, which can cause the PL_Argv array we're building up to get removed before we're done. I'm not sure what's the best approach here; here's a couple of possibilities: # disallow reentrant calls: UNLIKELY(breaks some working code) # set PL_Argv as late as possible: UNLIKELY(leaks some memory) while (++mark <= sp) { Hugo |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgThe globals that are causing this problem don't need to be global at all. -zefram |
From @jkeenanOn 12/06/2017 04:37 PM, Zefram wrote:
For whatever benefit there might be of creating a branch for smoke-me/zefram/exec_args That way (a) in the rare case of someone (i.e., TonyC) who has set up Thank you very much. |
From zefram@fysh.orgJames E Keenan wrote:
Really? I had got the impression that the "smoke-me" segment could be -zefram |
From @jkeenanOn 12/07/2017 02:52 PM, Zefram wrote:
Zefram: I've had a commit bit since 2012. How many more years do I have to For what it's worth, all three of the examples of a smoke-me branch In addition, if you go to http://perl.develop-help.com/, click on the Thank you very much. |
From zefram@fysh.orgJames E Keenan wrote:
By "authoritative" I meant someone who maintains the smoke-me automation, -zefram |
From carlos@carlosguevara.comOn Thu, Dec 7, 2017 at 11:31 PM, Zefram <zefram@fysh.org> wrote:
I use this command on my systems: |
From @xsawyerxOn 12/08/2017 05:44 AM, James E Keenan wrote:
I think the intention here is for "definitive," as in "What does the Funny story: I asked my brother for his car's code. His partner gave me The regexp could be /^smoke-me/ or /smoke-me/. Either case, it would be |
From @craigberryOn Mon, Dec 11, 2017 at 6:59 AM, Sawyer X <xsawyerx@gmail.com> wrote:
As far as I know the automatic selection of what branch or branches to That said, I've always assumed the convention was that the branch |
From zefram@fysh.orgCarlos Guevara wrote:
Thanks, that makes it clear. I've renamed my branch to -zefram |
From @xsawyerxOn 12/11/2017 08:29 PM, Craig A. Berry wrote:
Agreed. |
From zefram@fysh.orgsmoke-me testing didn't cover as many platforms as I'd hoped, but at -zefram |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#129888 (status was 'resolved')
Searchable as RT129888$
The text was updated successfully, but these errors were encountered: