* Source/NSXMLElement.m(-addAttribute:): Correct linear list code

for name spaces. This fixes the last remaining Coverity issue.
This commit is contained in:
fredkiefer 2018-02-09 00:07:53 +01:00
parent 323f9abace
commit 2901390d0f
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2018-02-09 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSXMLElement.m(-addAttribute:): Correct linear list code
for name spaces. This fixes the last remaining Coverity issue.
2018-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.h
@ -137,7 +142,7 @@
* configure: regenerate
2018-01-14 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSXMLDocument/basic.m:
* Tests/base/NSXMLDocument/cdata.m:
* Tests/base/NSXMLNode/basic.m:
@ -167,7 +172,7 @@
external references and validating against a DTD.
2018-01-14 Yavor Doganov <yavor@gnu.org>
* configure.ac: Use PKG_PROG_PKG_CONFIG instead of AC_PATH_PROG to
find pkg-config as it supports cross-compilation.
* configure.ac: Bump ICU requirement to >= 50 for UDAT_PATTERN.

View file

@ -285,11 +285,12 @@ extern void ensure_oldNs(xmlNodePtr node);
}
else
{
last->next = ns->next;
last->next = cur->next;
}
cur->next = NULL;
break;
}
}
last = cur;
cur = cur->next;
}