[PATCH] msxml3: Don't set properties directly
André Hentschel
nerv at dawncrow.de
Tue Feb 27 12:46:57 CST 2018
Fixes https://bugs.winehq.org/show_bug.cgi?id=43377 and thus the test crash in msxml3:domdoc
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
dlls/msxml3/domdoc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index ddd7565..ea30ae1 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -683,7 +683,7 @@ static HRESULT attach_xmldoc(domdoc *This, xmlDocPtr xml )
if(This->node.node)
{
xmldoc_add_ref(get_doc(This));
- priv_from_xmlDocPtr(get_doc(This))->properties = This->properties;
+ priv_from_xmlDocPtr(get_doc(This))->properties = copy_properties(This->properties);
}
return S_OK;
--
2.7.4
More information about the wine-devel
mailing list