From ed2dd71024af17c96623ff4434a313b976fbac79 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 1 Sep 2013 16:04:02 +0200 Subject: junklib: don't fill output iconv buffer with 0s --- junklib.c | 1 - 1 file changed, 1 deletion(-) (limited to 'junklib.c') diff --git a/junklib.c b/junklib.c index 8bca1edc..aaa045bf 100644 --- a/junklib.c +++ b/junklib.c @@ -478,7 +478,6 @@ junk_iconv (const char *in, int inlen, char *out, int outlen, const char *cs_in, size_t outbytesleft = outlen; char *pout = out; - memset (out, 0, outbytesleft); size_t res = iconv (cd, &pin, &inbytesleft, &pout, &outbytesleft); int err = errno; -- cgit v1.2.3