[php-src] PR #13782: Fix mysqlnd pipe crash
| From: | nielsdos | Date: | Thu, 21 Mar 2024 23:38:13 +0000 |
| Subject: | [php-src] PR #13782: Fix mysqlnd pipe crash | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25512@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13782
Author: nielsdos
The individual commits have descriptions that explain the change. This fixes the bug fully on the
master branch.
I tested this with both persistent and non-persistent connections. As mysqlnd's stream handling
is a bit tricky and has some hacks, it's best to review this with at least 2 people.
As for backporting: All commits except the first one can be backported to stable branches I think,
which means that in that case it's fixed on stable branches that use NTS. On ZTS it won't
always work: only the non-persistent connections are fully fixed.
Should fix GH-10599.