]> granicus.if.org Git - php/commit
Fix #61362: Exception::getTraceAsString and ::__toString scramble Unicode
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 17 Jun 2015 14:56:04 +0000 (16:56 +0200)
committerNikita Popov <nikic@php.net>
Wed, 17 Jun 2015 20:31:07 +0000 (22:31 +0200)
commit653c869348b7626d43a30f67be9362fbcce10d2b
treedaacc7f819ae0396942f41496d355ab250b19a0d
parent269acaa363cab7de8705b060ba9b1e32322fb0f4
Fix #61362: Exception::getTraceAsString and ::__toString scramble Unicode

The logic in smart_str_append_escaped() relies on unsigned values of c, so we
have to declare it as such.
Zend/tests/bug61362.phpt [new file with mode: 0644]
Zend/zend_exceptions.c