[GIT-PULLS] [php-src] PR #23411: Fix path_info pointer underflow in CGI fix_pathinfo handling

[email protected] (iliaal)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23411
Author: iliaal

cgi.fix_pathinfo derived PATH_INFO as env_path_info + pilen - slen even when PATH_INFO was shorter than the suffix stripped from SCRIPT_FILENAME, which under-runs the pointer. FPM received this guard in ab061f95ca9; CGI did not.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.