Hi,
what about this patch?
Kind regards
Nico

-- 
Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
--- lib/Net/DNS/RR/A.pm
+++ lib/Net/DNS/RR/A.pm
@@ -18,7 +18,7 @@
 sub new {
 	my ($class, $self, $data, $offset) = @_;
 
-	if ($self->{"rdlength"} > 0) {
+	if ($self->{"rdlength"} >= 4) {
 		$self->{"address"} = inet_ntoa(substr($$data, $offset, 4));
 	}
 

Attachment: pgpr9ndPl68Hw.pgp
Description: PGP signature

Reply via email to