mirror of
https://github.com/php/php-src.git
synced 2026-03-31 12:42:29 +02:00
MFH: Fixed bug #33059 (crash when moving xml attribute set in dtd).
This commit is contained in:
1
NEWS
1
NEWS
@@ -11,6 +11,7 @@ PHP NEWS
|
||||
- Fixed ext/mysqli to allocate less memory when fetching bound params
|
||||
of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)
|
||||
- Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)
|
||||
- Fixed bug #33059 (crash when moving xml attribute set in dtd). (Ilia)
|
||||
- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()).
|
||||
(jwozniak23 at poczta dot onet dot pl, Tony).
|
||||
- Fixed bug #32956 (mysql_bind_result() doesn't support MYSQL_TYPE_NULL). (Georg)
|
||||
|
||||
@@ -298,7 +298,6 @@ PHP_FUNCTION(dom_element_remove_attribute)
|
||||
if (php_dom_object_get_data((xmlNodePtr) attrp) == NULL) {
|
||||
node_list_unlink(attrp->children TSRMLS_CC);
|
||||
xmlUnlinkNode((xmlNodePtr) attrp);
|
||||
xmlFreeProp(attrp);
|
||||
} else {
|
||||
xmlUnlinkNode((xmlNodePtr) attrp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user