help-libidn
[Top][All Lists]
Advanced

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

'idn' utility segfaults


From: Jeffrey Frey
Subject: 'idn' utility segfaults
Date: Wed, 1 May 2013 16:42:27 -0400

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".




::::::::::::::::::::::::::::::::::::::::::::::::::::::
Jeffrey T. Frey, Ph.D.
Systems Programmer IV / Cluster Management
Network & Systems Services / College of Engineering
University of Delaware, Newark DE  19716
Office: (302) 831-6034  Mobile: (302) 419-4976
http://turin.nss.udel.edu/
::::::::::::::::::::::::::::::::::::::::::::::::::::::






reply via email to

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