Jeffrey Frey <[email protected]> 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

_______________________________________________
Help-libidn mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to