svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/xml/tests/bug49687.phpt branches/PHP_5_3/ext/xml/xml.c trunk/ext/standard/html.c
trunk/ext/standard/html.h trunk/ext/xml/tests/bug49687.phpt trunk/ext/xml/xml.c
| From: | Gustavo André dos Santos Lopes | Date: | Wed, 27 Oct 2010 18:13:25 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/xml/tests/bug49687.phpt branches/PHP_5_3/ext/xml/xml.c trunk/ext/standard/html.c trunk/ext/standard/html.h trunk/ext/xml/tests/bug49687.phpt trunk/ext/xml/xml.c |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-63726@lists.php.net to get a copy of this message | ||
cataphract Wed, 27 Oct 2010 18:13:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304959
Log:
- Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
of reported malformed sequences). (Gustavo)
#Made a public interface for get_next_char/utf-8 in trunk to use in utf8_decode.
#In PHP 5.3, trunk's get_next_char was copied to xml.c because 5.3's
#get_next_char is different and is not prepared to recover appropriately from
#errors.
Bug: http://bugs.php.net/49687 (Assigned) utf8_decode
xml_utf8_decode vuln
Changed paths:
U php/php-src/branches/PHP_5_3/NEWS
A php/php-src/branches/PHP_5_3/ext/xml/tests/bug49687.phpt
U php/php-src/branches/PHP_5_3/ext/xml/xml.c
U php/php-src/trunk/ext/standard/html.c
U php/php-src/trunk/ext/standard/html.h
A php/php-src/trunk/ext/xml/tests/bug49687.phpt
U php/php-src/trunk/ext/xml/xml.c
Attachment: [text/x-diff] svn-diffs-304959.txt
Attachment: [text/x-diff] svn-diffs-304959.txt