[php-src] PR #23347: Close a UConverter that fails callback install
| From: | iliaal | Date: | Tue, 18 Aug 2026 11:49:39 +0000 |
| Subject: | [php-src] PR #23347: Close a UConverter that fails callback install | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37964@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23347
Author: iliaal
ucnv_open() can succeed and php_converter_set_callbacks() can still fail on a UConverter subclass.
The converter was neither stored nor closed. Close it on that return. The default class skips
callback install; transcode passes a NULL object.