-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Einar,
The error occurs when a DS resource record is constructed without (or
with a undefined) key object. Either directly, or via
Net::DNS::RR::DS::verify . We can fix Net::DNS::RR::DS::verify to return
0 when the key in the argument is undefined, but maybe you might have
calls to Net::DNS::RR::DS::create yourself. Something like:
``create Net::DNS::RR::DS($key, ( digtype=> "SHA<something>" ));''
somewhere?
I have the check in Net::DNS::RR::DS::verify in revision r889 of
net-dns-sec.
Regards, Willem
On 30-08-11 17:47, Einar Lönn via RT wrote:
Show quoted text> Tue Aug 30 11:47:36 2011: Request 70604 was acted upon.
> Transaction: Ticket created by rayceem@rayceem.com
> Queue: Net-DNS-SEC
> Subject: DS.pm module goes "undefined value" and dies
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: rayceem@rayceem.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=70604 >
>
>
> Hi Olaf & other Net::DNS people! :)
>
> I beg your pardon for this "nonspecific" bug report but... :(
>
> System stats:
> Perl v5.8.8
> Ubuntu 2.6.24-28
> Net::DNS::Sec 0.16
>
> When testing dnssec params on domains with "exotic" (as in broken) configurations (happened twice now, but the domains have fixed themselves before I've had the chance to even TRY and reproduce the crash), Net::DNS::Sec exits with:
> Can't call method "name" on an undefined value at /usr/local/share/perl/5.8.8/Net/DNS/RR/DS.pm line 172.
>
> Now, the problem is that this is not reproducable since these domains are in a constant state of change (probably why they use the module to test themselves with DNSCheck). The only thing we know is that we cant really fix this issue easily since it lies within Net::DNS::Sec and not within our own code, we'd be more than happy to see any attempt to fix whatever causes this. ;)
>
> Hope you have any ideas, it's quite annoying since I have trouble pinpointing this issue! ;p
>
>
> /Regards, Einar
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOXkfOAAoJEOX4+CEvd6SYJE4P/jgj7q6BQ8aJIdDnotd0RxgO
glh7cKtOr6zLav7WTevhQQKGpgtcp3qPCfp5Brhpeo1wjP7AyhMpuLFccdmsNKBP
WbDjfN3ClJTwvYcUCA3iebL8L45LbSoALmltzpkiL4IcwyDCCRLtAxT6rlErsYad
f84tGzdeW5POJAEwKB8+hxumgb4grAivB0v9L1Oroug+7ckRCCXP0TZxnG8ehka+
O0BSC9TSTTHQXHFGCz+kUImUIpZBhPVsrw9WZEbkKaTTM+OHhJ3kVretnrxMuqEo
ZPd6u2ZwR9kIFgMCTMZT3A7H//ZbN6jtDclNxhhy2loouMMhWoH6lgytVhklTQLD
su1KcfO7j8E0uEq/npTV0P+mb8lr/JPRnnD9gFvgZSyZyKTTXKHiXiz6vdVrVy6o
VsbyqWaD/ENIQF/cN3n6/CdYq3oRrWF9w+WTTfJY4ZRn0NFoNTw0LDCAEE2fJLQM
bkvB3oY8+stbspFGixgLAjp1dkABYcKOli7RtXA1rwd/simhRmk9SR9vIAKVR3Vm
Z6wXE6Sqgg3pGeZBniiL0epXjF+e3GP0OGQ56lXZOzhEZL6Ji+76YUfXZTS9nxxM
Ytfjalu6VIgHD4oDDvRRngpsPmseeQ1RFoe00D8gURfshGgWuJnxSGG9m3eikNSl
7zj0ok06tNVjE46jHefi
=Ts4W
-----END PGP SIGNATURE-----