help-libidn
[Top][All Lists]
Advanced

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

two (bugs? misfeatures?) in libidn


From: Jon Nelson
Subject: two (bugs? misfeatures?) in libidn
Date: Thu, 5 Jul 2012 10:06:55 -0500

I've encountered two bugs or misfeatures in libidn:

1. given an idna-encoded input, it is possible to generate invalid
UTF-8 output (as defined by RFC3629). The UTF-8 is invalid because
codepoints above 0x10FFFF are used.

See http://tools.ietf.org/html/rfc3629

2. after decoding some idna-encoded input, it is possible to have
UTF-8 that cannot be re-idna-encoded, usually with a label that is too
long.

What, if anything, should be done here?

-- 
Jon
Software Blacksmith



reply via email to

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