libxml2 r3798 - trunk
- From: veillard svn gnome org
- To: svn-commits-list gnome org
- Subject: libxml2 r3798 - trunk
- Date: Thu, 2 Oct 2008 20:55:10 +0000 (UTC)
Author: veillard
Date: Thu Oct 2 20:55:10 2008
New Revision: 3798
URL: http://svn.gnome.org/viewvc/libxml2?rev=3798&view=rev
Log:
* parser.c: fix a nasty bug introduced when cleaning up
entities processing in 2.7.x , fixes #554660
Daniel
Modified:
trunk/ChangeLog
trunk/parser.c
Modified: trunk/parser.c
==============================================================================
--- trunk/parser.c (original)
+++ trunk/parser.c Thu Oct 2 20:55:10 2008
@@ -7225,8 +7225,10 @@
* Predefined entites override any extra definition
*/
ent = xmlGetPredefinedEntity(name);
- if (ent != NULL)
+ if (ent != NULL) {
+ *str = ptr;
return(ent);
+ }
/*
* Increate the number of entity references parsed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]