[patch] Fix BZ 19012 -- memory leak on error path in iconv_open

Florian Weimer fweimer@redhat.com
Mon Sep 28 13:53:00 GMT 2015


On 09/27/2015 11:22 PM, Paul Pluzhnikov wrote:
> In order to expose the bug, a partial install (one missing
> iconvdata/SJIS.so) is required. I am not sure how to write such a test
> case (or even whether it is truly a bug to leak memory when faced with
> such a partial install).

What happens if you call iconv in a loop?  Will the amount of memory
leaked remain bounded?

-- 
Florian Weimer / Red Hat Product Security



More information about the Libc-alpha mailing list