[Bug 46206] Altium Designer 17 account sign in fails as of 3.19
WineHQ Bugzilla
wine-bugs at winehq.org
Tue Aug 9 10:03:12 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=46206
Damjan Jovanovic <damjan.jov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |damjan.jov at gmail.com
--- Comment #11 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Those 3 commits, especially 4460cb3377, are also the issue in bug 53531.
The problem in bug 53531 is also an "Out of memory" error. There it's caused by
this simple one element example:
<element xmlns="whatever"/>
Attempting to call IXMLDOMElement::get_attributes() on that element, then call
IXMLDOMNamedNodeMap::get_item(0) on the returned attribute map, causes it to
always fail with E_OUTOFMEMORY in domelem_get_item(), because default
namespaces have a NULL prefix, so the call to libxml2's xmlNewNsProp() always
passes NULL as the property name, and NULL attribute names aren't allowed so
libxml2 always returns NULL, causing Wine's domelem_get_item() to always
returns E_OUTOFMEMORY:
---snip---
1834 curr = xmlNewNsProp(NULL, xmlns, ns->prefix, ns->href);
1835 if (!curr) {
1836 xmlFreeNs(xmlns);
1837 return E_OUTOFMEMORY;
1838 }
---snip---
I am not sure how best to fix this. Some help would be appreciated.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list