[php-src] PR #16205: Fix GH-16184: UBSan address overflowed in ext/pcre/php_pcre.c

From: Date: Thu, 03 Oct 2024 18:19:40 +0000
Subject: [php-src] PR #16205: Fix GH-16184: UBSan address overflowed in ext/pcre/php_pcre.c
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28985@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16205 Author: nielsdos libpcre2 can return the special value -1 for a non-match. In this case we get pointer overflow, although it doesn't matter in practice because the pointer will be in bounds and the copy length will be 0. Still, we should fix the UBSAN warning.

« previous php.git-pulls (#28985) next »