bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH v2 2/4] fix a realloc-related memory leak in localhost()


From: Samuel Thibault
Subject: Re: [PATCH v2 2/4] fix a realloc-related memory leak in localhost()
Date: Sat, 20 Aug 2011 18:31:36 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Jonathan Neuschäfer, le Mon 15 Aug 2011 22:10:07 +0200, a écrit :
>  * libshouldbeinlibc/localhost.c (localhost): assign the return value
>    of realloc to a temporary variable to avoid losing the old value of
>    buf in the case of realloc failing.

Applied, thanks.

Samuel



reply via email to

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