mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 12:25:09 +03:00
applied the patch suggested #309565 which can avoid looping in error
* encoding.c: applied the patch suggested #309565 which can avoid looping in error conditions. Daniel
This commit is contained in:
parent
73da77e0d7
commit
2644ab270e
@ -1,3 +1,8 @@
|
||||
Wed Aug 24 16:19:00 CEST 2005 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* encoding.c: applied the patch suggested #309565 which can avoid
|
||||
looping in error conditions.
|
||||
|
||||
Wed Aug 24 16:04:17 CEST 2005 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* SAX2.c tree.c: line numbers are now carried by most nodes, fixing
|
||||
|
@ -1919,7 +1919,7 @@ xmlCharEncInFunc(xmlCharEncodingHandler * handler, xmlBufferPtr out,
|
||||
*/
|
||||
if (ret == -3)
|
||||
ret = 0;
|
||||
return (written);
|
||||
return (written? written : ret);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user