Re: [Nbd] freeing a non-malloc'ed string
- To: Alan Curry <pacman-nbd@...30...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] freeing a non-malloc'ed string
- From: Wouter Verhelst <wouter@...3...>
- Date: Sat, 24 Jul 2004 10:52:55 +0200
- Message-id: <20040724085255.GB17864@...3...>
- In-reply-to: <20040718213935.18413.qmail@...30...>
- References: <20040718213935.18413.qmail@...30...>
On Sun, Jul 18, 2004 at 04:39:35PM -0500, Alan Curry wrote:
> In nbd-server.c, auth_file is not malloc'ed but it is freed, causing a
> segfault (depending on how lucky you are) when the -l option is used.
> Removing the line that says free(auth_file) fixes the problem.
Thanks, applied this one.
--
EARTH
smog | bricks
AIR -- mud -- FIRE
soda water | tequila
WATER
-- with thanks to fortune
Reply to: