1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

Paul Keogh pointed out a possibility of segfault on repeted

* encoding.c: Paul Keogh pointed out a possibility of segfault
  on repeted xmlAddEncodingAlias() / xmlCleanupEncodingAlias().
  Closes bug # 68238
Daniel
This commit is contained in:
Daniel Veillard 2002-01-08 13:15:33 +00:00
parent 4a85920e23
commit 73c6e53aff
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Tue Jan 8 14:13:18 CET 2002 Daniel Veillard <daniel@veillard.com>
* encoding.c: Paul Keogh pointed out a possibility of segfault
on repeted xmlAddEncodingAlias() / xmlCleanupEncodingAlias().
Closes bug # 68238
Tue Jan 8 12:48:27 CET 2002 Daniel Veillard <daniel@veillard.com>
* doc/*.html: updated the Gdome2 links

View File

@ -1170,6 +1170,7 @@ xmlCleanupEncodingAliases(void) {
xmlCharEncodingAliasesNb = 0;
xmlCharEncodingAliasesMax = 0;
xmlFree(xmlCharEncodingAliases);
xmlCharEncodingAliases = NULL;
}
/**