Re: Recovering from a hung regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On May 25, 2020 3:00:02 PM UTC, Shivanand Sharma <shivanand@xxxxxxxxxxxxxx> wrote:
>Hi Ashley,
>
>It's very simple to fix that bug. Changing the regex or the payload is
>able
>to fix it or even an update to the PCRE lib. However that said, in my
>original post the concern is not to fix this bug but to recover from
>such a
>potential hang which breaks my application. Error handling is the
>concern,
>not the presence of the bug itself.
>
>Regards,
>Shivanand Sharma

I don't know of any way to "recover" beyond pushing this task out to an external process. You haven't given enough information yet to determine if it's truly a hang or just takes a long time, or what system this is even being run on.

Thanks,
Ash




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux