help-libidn
[Top][All Lists]
Advanced

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

Re: 'idn' utility segfaults


From: Simon Josefsson
Subject: Re: 'idn' utility segfaults
Date: Wed, 05 Jun 2013 23:00:43 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux)

Jeffrey Frey <address@hidden> writes:

> The 'idn' utility segfaults at src/idn.c:506 due to an error on line 502:
>
>
> 500:    p = stringprep_utf8_to_locale (r);
> 501:    free (r);
> 502:    if (!r)
> 503:      error (EXIT_FAILURE, 0, _("could not convert from UTF-8 to %s"),
> 504:             stringprep_locale_charset ());
>
>
> The conditional on line 502 should be checking "p" for NULL, not "r".

Thank you, it has been fixed on git master.  Unfortunately, it didn't go
into 1.27 but will be in the next release...

/Simon



reply via email to

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