[php-src] PR #12523: Fix bug #75306: Memleak in SoapClient
| From: | nielsdos | Date: | Wed, 25 Oct 2023 19:10:56 +0000 |
| Subject: | [php-src] PR #12523: Fix bug #75306: Memleak in SoapClient | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23994@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12523
Author: nielsdos
Setting the stream context via php_stream_context_to_zval() will increase the reference count. So if
the new context is created, then it will end up with a reference count of 2 while it should be 1.
Credits to cmb for the analysis. I arrived at the same patch as he did.