MuhammedReza07 / dns_resolver

A simple DNS resolver in Rust written uisng standard library provided functionality.
1 stars 0 forks source link

Validation in UdpPacket::read_domain_name #8

Open MuhammedReza07 opened 1 year ago

MuhammedReza07 commented 1 year ago

Additional validation must be done for safety in UdpPacket::read_domain_name.

Additionally, handle errors by using the UdpPacketIoError type instead of panicking.