[Git][wine/wine][master] mxsml3/tests: Add tests for put_text.
Alexandre Julliard pushed to branch master at wine / wine Commits: 03b5c429 by Daniel Lehman at 2026-03-13T10:51:30+01:00 mxsml3/tests: Add tests for put_text. calling IXMLDOMNode_put_text on a text node leads to xmlTextSetContent in libxml2 which duplicates the text (xmlStr[n]dup) and frees the old content before setting the new calling IXMLDOMElement_put_text on an element node leads to xmlNodeParseContent in libxml2 which sets the text on the xmlNode's child and calls xmlFreeNodeList to free the old content an IXMLDOMNode reference to that internal text node holds a pointer to that freed content and crashes on IXMLDOMNode_Release <open> <-- IXMLDOMElement_put_text -> xmlNodeParseContent frees old 'content' held by IXMLDOMNode below sesame <-- IXMLDOMNode_Release on this node double-frees 'content' freed above </open> - - - - - 1 changed file: - dlls/msxml3/tests/domdoc.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/03b5c429973d408ebd9525afb5a94f1... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/03b5c429973d408ebd9525afb5a94f1... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)