bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [PATCH] the libidn problem


From: Ander Juaristi
Subject: Re: [Bug-wget] [PATCH] the libidn problem
Date: Wed, 01 Jul 2015 13:02:43 +0200
User-agent: Thunderbird on Linux

On 07/01/2015 12:57 PM, Tim Ruehsen wrote:
- Removed the call to quote() at idn_encode() since it segfaults with
0xFC (the same test proposed by the reporters of #45236).

The reason is simply a bug in my code.
       xfree (utf8_encoded);
       logprintf (LOG_VERBOSE, _("Invalid UTF-8 sequence: %s\n"),
           quote(utf8_encoded));
Instead it should be
       logprintf (LOG_VERBOSE, _("Invalid UTF-8 sequence: %s\n"),
           quote(utf8_encoded));
       xfree (utf8_encoded);
I tried putting xfree() after the call to quote(), and it segfaulted too. 
Doesn't happen to you?

--
Regards,
- AJ



reply via email to

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