summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2012-07-22 13:02:22 +0800
committerAron Xu <aron@debian.org>2012-07-22 13:02:22 +0800
commit896154dde64804820df53924a5b4874c388d89fd (patch)
treec4fdb2272e4c21af20d713a44880de326710211d
parent6e847e79b77610798a129520c25521add4d15a0c (diff)
downloadlibxml2-debian/2.8.0+dfsg1-5.tar.gz
Fix an error in the patchdebian/2.8.0+dfsg1-5
-rw-r--r--debian/patches/0004-Fix-entities-local-buffers-size-problems.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/0004-Fix-entities-local-buffers-size-problems.patch b/debian/patches/0004-Fix-entities-local-buffers-size-problems.patch
index 7a10328..9cede53 100644
--- a/debian/patches/0004-Fix-entities-local-buffers-size-problems.patch
+++ b/debian/patches/0004-Fix-entities-local-buffers-size-problems.patch
@@ -7,7 +7,7 @@ Subject: Fix entities local buffers size problems
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/entities.c b/entities.c
-index 6aef49f..859ec3b 100644
+index 6aef49f..a02738d 100644
--- a/entities.c
+++ b/entities.c
@@ -528,13 +528,13 @@ xmlGetDocEntity(xmlDocPtr doc, const xmlChar *name) {
@@ -22,7 +22,7 @@ index 6aef49f..859ec3b 100644
- return(NULL); \
- } \
+ xmlChar *tmp; \
-+ size_t new_size = buffer_size *= 2; \
++ size_t new_size = buffer_size * 2; \
+ if (new_size < buffer_size) goto mem_error; \
+ tmp = (xmlChar *) xmlRealloc(buffer, new_size); \
+ if (tmp == NULL) goto mem_error; \