[Pkg-owncloud-commits] [owncloud-client] 25/33: Fix potential crash in c_iconv on Mac OS X

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Feb 27 19:44:25 UTC 2014


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

hefee-guest pushed a commit to branch upstream
in repository owncloud-client.

commit d4fa06c4e1c7be164610f3adcb8d9651d307df59
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Tue Feb 25 12:48:29 2014 +0100

    Fix potential crash in c_iconv on Mac OS X
---
 csync/src/std/c_string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csync/src/std/c_string.c b/csync/src/std/c_string.c
index a2c4798..da81d6e 100644
--- a/csync/src/std/c_string.c
+++ b/csync/src/std/c_string.c
@@ -126,7 +126,7 @@ static char *c_iconv(const char* str, enum iconv_direction dir)
   }
 
   if (ret == (size_t)-1) {
-      SAFE_FREE(out);
+      SAFE_FREE(out_in);
       return NULL;
   }
 

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



More information about the Pkg-owncloud-commits mailing list