From: Nikolay Sivov <nsivov@codeweavers.com> --- dlls/msxml3/saxreader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 4988ce16748..89f82722058 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -3503,6 +3503,9 @@ static void saxreader_add_default_attributes(struct saxlocator *locator, struct { const struct attlist_attr *attr = &decl->attributes[i]; + if (!attr->value) + continue; + if (!saxreader_has_attribute(locator, attr->name.qname)) saxreader_add_attribute(locator, &attr->name, attr->value, false); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10328