Bug #77193 [Csd]: Infinite loop in preg_replace_callback

From: Date: Sat, 01 Dec 2018 16:17:46 +0000
Subject: Bug #77193 [Csd]: Infinite loop in preg_replace_callback
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218238@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77193&edit=1 ID: 77193 Updated by: ab@php.net Reported by: mlocati at gmail dot com Summary: Infinite loop in preg_replace_callback Status: Closed Type: Bug Package: PCRE related PHP Version: 7.3.0RC6 Assigned To: ab Block user comment: N Private report: N New Comment: AFM this should be handled as a usual bug and the fix should go through QA. I woludn't expect any complications on this, still it's unfortunate it has been caught this late. It's anyway at your convenience, Christoph, I might not see the whole picture. Thanks. Previous Comments: ------------------------------------------------------------------------ [2018-12-01 13:56:24] cmb@php.net > Will this fix be include in PHP 7.3.0? Good question! Anatol, what do you think? ------------------------------------------------------------------------ [2018-12-01 10:17:10] mlocati at gmail dot com Will this fix be include in PHP 7.3.0? ------------------------------------------------------------------------ [2018-12-01 09:29:36] ab@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=ef1269d5c158afaf052e3d79591462e0f5372b1a Log: Fixed bug #77193 Infinite loop in preg_replace_callback ------------------------------------------------------------------------ [2018-11-30 22:42:09] requinix@php.net > @requinix your snippet doesn't repro, unfortunately. That was to test if the problem was with the PCRE2 code in general or if it was specifically about how ext/filter and FILTER_VALIDATE_REGEXP uses it. ------------------------------------------------------------------------ [2018-11-30 21:56:29] ab@php.net @mlocati, excellent! I'll add it as a test. @requinix your snippet doesn't repro, unfortunately. Thanks. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=77193 -- Edit this bug report at https://bugs.php.net/bug.php?id=77193&edit=1

« previous php.bugs (#218238) next »