develooper Front page | perl.perl5.porters | Postings from June 2012

[perl #44129] Setting $0 in eval_pv causes core dump

Thread Next
Jesse Luehrs via RT
June 22, 2012 09:30
[perl #44129] Setting $0 in eval_pv causes core dump
Message ID:
This is still true in blead. The segfault happens at the memcpy call here:

  Copy(s, PL_origargv[0], PL_origalen-1, char);

which is currently mg.c:3011 (as of revision 83f29af). According to gdb,
PL_origargv[0] is "", but PL_origalen is 4.

via perlbug:  queue: perl5 status: new

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About