On 07/01/2017 01:44 PM, Tim Rühsen wrote:
Hi,fuzzing glob.c immediately discovered a leak. At ~L600 in glob.c, 'dirname' is heap allocated. It is free'd at label 'out', but some code paths directly return without jumping there. Attached is a patch fixing the issue for me, but just take it as a proof of concept. You might prefer a different approach. Regards, Tim
glob.c is taken from glibc, right? Have you investigated whether these problems have been reported and/or fixed in glibc?