CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1249
content-type: text/html; charset=utf-8
last-modified: Sat, 11 Oct 2025 14:33:21 GMT
traceparent: f8efcd593cd80c27b2c7079849594946
strict-transport-security: max-age=15768000
Re: [perl #57244] perlbug AutoReply: crash with recursive regexp - nntp.perl.org
Front page | perl.perl5.porters |
Postings from July 2008
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Re: [perl #57244] perlbug AutoReply: crash with recursive regexp
From:
ZeframDate:
July 24, 2008 09:38Subject:
Re: [perl #57244] perlbug AutoReply: crash with recursive regexpMessage ID:
20080724163830.GM10967@fysh.orgMore information: My cow-orker Ilmari did some analysis on which part of the perl code is involved. He mailed the results to RT, but the message hasn't shown up there. In brief: the memory allocations are for the start/end indices of captured submatches, and the writes that exceed the allocations are trying to clear the indices to -1. There's a pair of capturing parens in one of the regexps in the test program. If they are removed then valgrind reports no errors. In the real application, removing the corresponding parens (which are actually not meant to be there) avoids all crashes. -zefram
- Re: [perl #57244] perlbug AutoReply: crash with recursive regexp by Zefram
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About