[GIT-PULLS] [php-src] PR #23465: Return false from rewrite_name_to_position() on IM001 error path
[email protected] (iliaal)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23465 Author: iliaal rewrite_name_to_position() is declared bool, so the -1 returned after raising the IM001 error for a repeated :named parameter was converted to true and the caller's failure check never saw the failure, leaving bindParam() and bindColumn() reporting success despite the error. Returning false makes the error propagate; no other -1 return remains in the function.