You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use trust_dns_proto::rr::Name;use trust_dns_proto::serialize::binary::{BinDecodable,BinEncodable};fnmain(){let name = Name::parse("\\",None).unwrap();println!("{:?}", name);let bytes = name.to_bytes().unwrap();println!("{:?}", bytes);let name = Name::from_bytes(&bytes).unwrap();println!("{:?}", name);}
Outputs
"\\" None Name("")
Name("")
[0]
Name(".")
Name("") seems definitely wrong to me. Is Name::parse supposed to reject this string?
The text was updated successfully, but these errors were encountered:
Another finding from fuzzing.
Outputs
Name("")
seems definitely wrong to me. IsName::parse
supposed to reject this string?The text was updated successfully, but these errors were encountered: