
bugzilla-daemon at bugzilla
Jul 25, 2013, 5:43 AM
Post #2 of 7
(64 views)
Permalink
|
|
[Bug 6959] Malformed UTF-8 character - in transliteration at DnsResolver.pm line 627
[In reply to]
|
|
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6959 --- Comment #2 from Mark Martinec <Mark.Martinec [at] ijs> --- I see, a bug/misfeature in Net::DNS : we give a properly "RFC 1035 zone format" -encoded string of bytes (no utf-8 flag) to Net::DNS::Packet->new, and it gratuitously flags it with an utf-8 flag in the packet->question section, without checking that the given string of octets really represents an UTF-8 encoded string, and without any reason to do so, as DNS is 8-bit clean and works with octet strings / has no notion of character sets and encodings. When we later pull that packet->question string back and start processing it, it blows in our face, as it is flagged as a proper character string, but it isn't. -- You are receiving this mail because: You are the assignee for the bug.
|