diff options
author | Andrey Bienkowski <abenkovskii@gmail.com> | 2018-01-30 15:04:11 +0300 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2018-07-23 10:21:38 +0800 |
commit | d2293cdbc83b3ca79b9d7132c5a62dfd7e3751be (patch) | |
tree | 6656f3c8a816063bce50cac52521c43ff824d369 | |
parent | 35e83488505d501864826125cfe6a7950d6cba78 (diff) | |
download | libxml2-d2293cdbc83b3ca79b9d7132c5a62dfd7e3751be.tar.gz |
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>
-rw-r--r-- | encoding.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2460,8 +2460,6 @@ retry: ret = -3; } - if (ret >= 0) output += ret; - /* * Attempt to handle error cases */ |