Re: SIGSEGV crash due to undefined behaviour when calling perl_parse
Charles Pigott <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <LO4P123MB47518FAA6D3BCB7340F3645BAE819@LO4P123MB4751.GBRP123.PROD.OUTLOOK.COM> |
Thanks very much! Charles ________________________________ From: Steve Hay <[email protected]> Sent: 22 February 2021 14:25 To: Charles Pigott <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: SIGSEGV crash due to undefined behaviour when calling perl_parse On Fri, 19 Feb 2021 at 09:25, Charles Pigott <[email protected]> wrote: > > > Hi, > > TL;DR: mod_perl is using perl_parse() incorrectly and not NULL-terminating the argv array passed to it. > > I've attached my suggested patch. Thanks for the patch. I've committed this to the mod_perl trunk (https://svn.apache.org/viewvc?view=revision&revision=1886793) so it will appear in the next release (2.0.12). -- Register for our online DO-178C & Multicore training with ConsuNova: 8-12th March 2021<https://www.rapitasystems.com/training/DO178C/?utm_source=email_footer>.