bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heap-use-after-free in rpl_glob


From: Paul Eggert
Subject: Re: heap-use-after-free in rpl_glob
Date: Fri, 17 Jan 2020 11:52:28 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 1/17/20 9:00 AM, Bruno Haible wrote:
Thank you very much for this report! I expect that the fix will also need
to go into glibc.

Yes, thanks, I filed a bug report here:

https://sourceware.org/bugzilla/show_bug.cgi?id=25414

It seems that your patch is incomplete, as there's a memory leak in the unlikely case that the malloc call fails. Something like the attached patch instead, perhaps?

Attachment: 0001-glob-Fix-use-after-free-bug.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]