[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev double free in HTSaveToFile/HTSaveAndExecute
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev double free in HTSaveToFile/HTSaveAndExecute |
Date: |
Mon, 27 Jul 1998 05:38:30 -0400 (EDT) |
> There's a flaw in LYCachedTemp() that breaks HTSaveToFile and
> HTSaveAndExecute.
> The FREE macro can only be used when you have the *address* of a
> pointer. So, upon return from LYCachedTemp the space occupied by the
> cached filename is released, but me->anchor->FileCache is not set to
> zero and will be freed again at the end of HTSaveWhatever.
> Protocol: view a link that requires an external viewer twice.
> Fix: see below
thanks (probably my error). will fix.
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey