[Pkg-mono-svn-commits] [mono] 02/02: Fix build (giconv.c) (cherry picked from commit 37e7f2fb50e2f357ae4068d3b7551ff411f9f77c)

Jo Shields directhex at alioth.debian.org
Thu Aug 15 10:51:38 UTC 2013


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to branch master-experimental-patches/fix-negative-malloc-in-utf8-invalid-strings
in repository mono.

commit 8583276c51733a8e16a2411f989ea1f47427e225
Author: Atsushi Eno <atsushieno at veritas-vos-liberabit.com>
Date:   Thu Aug 15 13:18:16 2013 +0900

    Fix build (giconv.c)
    (cherry picked from commit 37e7f2fb50e2f357ae4068d3b7551ff411f9f77c)
---
 eglib/src/giconv.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/eglib/src/giconv.c b/eglib/src/giconv.c
index b7d0f24..53a0378 100644
--- a/eglib/src/giconv.c
+++ b/eglib/src/giconv.c
@@ -966,7 +966,6 @@ eg_utf8_to_utf16_general (const gchar *str, glong len, glong *items_read, glong
 			     "Illegal byte sequence encounted in the input.");
 	} else if (items_read) {
 		/* partial input is ok if we can let our caller know... */
-		break;
 	} else {
 		g_set_error (err, G_CONVERT_ERROR, G_CONVERT_ERROR_PARTIAL_INPUT,
 			     "Partial byte sequence encountered in the input.");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git



More information about the Pkg-mono-svn-commits mailing list