mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:53:02 +00:00
[LIBXML2] Update to version 2.10.2. CORE-17766
This commit is contained in:
parent
0d5a4166a4
commit
1dbad942d8
5 changed files with 28 additions and 9 deletions
3
sdk/lib/3rdparty/libxml2/tree.c
vendored
3
sdk/lib/3rdparty/libxml2/tree.c
vendored
|
@ -9604,7 +9604,8 @@ xmlDOMWrapCloneNode(xmlDOMWrapCtxtPtr ctxt,
|
|||
/*
|
||||
* Attributes (xmlAttr).
|
||||
*/
|
||||
clone = (xmlNodePtr) xmlMalloc(sizeof(xmlAttr));
|
||||
/* Use xmlRealloc to avoid -Warray-bounds warning */
|
||||
clone = (xmlNodePtr) xmlRealloc(NULL, sizeof(xmlAttr));
|
||||
if (clone == NULL) {
|
||||
xmlTreeErrMemory("xmlDOMWrapCloneNode(): allocating an attr-node");
|
||||
goto internal_error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue