Re: [Nbd] [patch] Use peername after free'd
- To: gad@...127...
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [patch] Use peername after free'd
- From: Wouter Verhelst <w@...112...>
- Date: Fri, 15 Jun 2007 22:38:53 +0100
- Message-id: <20070615213853.GB718@...39...>
- In-reply-to: <20070615165544.y4yloc3zko4404ck@...128...>
- References: <20070615165544.y4yloc3zko4404ck@...128...>
On Fri, Jun 15, 2007 at 04:55:44PM -0400, gad@...127... wrote:
> Attached is a patch that fixes a problem that peername is used after
> calling free. This is certainly bad, and causes problems in systems
> that use %s as the filename/connection mapping. It seems to be that
> no connections should work w/o this fix, not sure how no one else has
> encountered this.
Oops. Applied, thanks.
--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22
Reply to: