Skip Menu |

This queue is for tickets about the Net-UPnP CPAN distribution.

Report information
The Basics
Id: 75747
Status: new
Priority: 0/
Queue: Net-UPnP

People
Owner: Nobody in particular
Requestors: esch [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.4.2
Fixed in: (no value)



Subject: Empty Service List causes getservicelist to croak
if there is no service list, the _SERVICELIST is not set at all. This causes getservicelist to croak as you cannot use an undefined variable as a pointer to an array. Either move the line: @{$this->{$Net::UPnP::Device::_SERVICELIST}} = (); up 4 lines to ensure it gets set, or check for undefined in getservicelist.