- Added Oracle Instant Client support. (cjbj at hotmail dot com, Tony)
- Changed phpize not to require libtool. (Jani)
- Updated bundled libmbfl library (used for multibyte functions). (Moriyoshi)
+- Fixed bug #32114 (DOM crashing when attribute appended to Document). (Rob)
Fixed bugs:
. Bug #32063 (mb_convert_encoding ignores named entity 'alpha')
. Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
}
/* end libxml2 code */
else if (child->type == XML_ATTRIBUTE_NODE) {
+ if (parent->type != XML_ELEMENT_NODE) {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Element node required to append Attribute");
+ RETURN_FALSE;
+ }
if (parent->properties != NULL) {
/* Check if an attribute with the same name exists */
xmlAttrPtr foundattrp;