06a8f6badc
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
34 lines
939 B
Diff
34 lines
939 B
Diff
From d2293cdbc83b3ca79b9d7132c5a62dfd7e3751be Mon Sep 17 00:00:00 2001
|
|
From: Andrey Bienkowski <abenkovskii@gmail.com>
|
|
Date: Tue, 30 Jan 2018 15:04:11 +0300
|
|
Subject: [PATCH 10/13] Remove a misleading line from xmlCharEncOutput
|
|
|
|
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=793028
|
|
|
|
It seams this line was accidentally copied over from xmlCharEncOutFunc.
|
|
In xmlCharEncOutput output is a pointer so incrementing it by ret can
|
|
point it where it wasn't supposed to be pointing. Luckily the current
|
|
implementation doesn't dereference the pointer after advancing it.
|
|
|
|
Signed-off-by: Daniel Veillard <veillard@redhat.com>
|
|
---
|
|
encoding.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/encoding.c b/encoding.c
|
|
index de7b511a..a3aaf10e 100644
|
|
--- a/encoding.c
|
|
+++ b/encoding.c
|
|
@@ -2460,8 +2460,6 @@ retry:
|
|
ret = -3;
|
|
}
|
|
|
|
- if (ret >= 0) output += ret;
|
|
-
|
|
/*
|
|
* Attempt to handle error cases
|
|
*/
|
|
--
|
|
2.18.0
|
|
|