[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] free() of idna_to_ascii_8z() buffer
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] free() of idna_to_ascii_8z() buffer |
Date: |
Fri, 07 Feb 2014 20:15:56 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Feb 07, 2014 at 05:51:33PM +0100, Gisle Vanem wrote:
> Hello Thomas etc.
>
> The buffer allocated by idna_to_ascii_8z() should be freed by libidn.
> That's why Simon Josefsson added the idn_free(). The '(free)' caused a
> crash here since my libidn (MSVC) was built without debug, but Lynx (also
> MSVC)
> used the debug-model (-MDd). Hence:
thanks - I've applied these fixes to my current code.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature