Your message dated Wed, 26 Dec 2018 17:04:38 +0000
with message-id <[email protected]>
and subject line Bug#910723: fixed in libnet-upnp-perl 1.4.6-1
has caused the Debian Bug report #910723,
regarding libnet-upnp-perl: Crash when device not responding: Can't call method 
"getcontent" without a package or object reference
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
910723: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910723
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libnet-upnp-perl
Version: 1.4.4-1
Severity: normal
Tags: patch upstream

[Note: this is a resubmission of the report as I think it got lost in an 
unrelated problem on
my system. I cannot find the earlier report but if this is a duplicate I 
apologise].

Dear Maintainer,

I recently updated my debian testing system and my DLNA applications now 
sometimes crash with:

Can't call method "getcontent" without a package or object reference at 
/usr/share/perl5/Net/UPnP/ControlPoint.pm line 107.

The problem occurs when calling a Net::UPnP::ControlPoint search method.
If *any* of the announcements contains a URL which does not respond to a 
connection
attempt then the crash occurs.
The previous version of libnet-upnp-perl handled this.

This is a relatively common occurence on my network as I am using an SSDP proxy 
to advertise
devices which are on another subnet. It is particularly annoying when the 
missing device is
not the one my application is intending to use.

The patch below (to check if the HTTP post succeeded) works for me.

--- /usr/share/perl5/Net/UPnP/ControlPoint.pm.sav       2018-10-09 
22:53:01.330259071 +0100
+++ /usr/share/perl5/Net/UPnP/ControlPoint.pm   2018-10-10 11:01:20.909321292 
+0100
@@ -97,6 +97,7 @@
                
                $http_req = Net::UPnP::HTTP->new();
                $post_res = $http_req->post($dev_addr, $dev_port, "GET", 
$dev_path, "", "");
+               next if ! $post_res;
                
                if ($Net::UPnP::DEBUG) {
                        print $post_res->getstatus() . "\n";


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_IE.utf8), LANGUAGE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL set to 
en_IE.utf8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnet-upnp-perl depends on:
ii  perl  5.26.2-7

libnet-upnp-perl recommends no packages.

libnet-upnp-perl suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libnet-upnp-perl
Source-Version: 1.4.6-1

We believe that the bug you reported is fixed in the latest version of
libnet-upnp-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libnet-upnp-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 26 Dec 2018 17:47:24 CET
Source: libnet-upnp-perl
Binary: libnet-upnp-perl
Architecture: source
Version: 1.4.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description: 
 libnet-upnp-perl - Perl extensions for UPnP
Closes: 910723
Changes:
 libnet-upnp-perl (1.4.6-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
     Fixes "Crash when device not responding: Can't call method
     "getcontent" without a package or object reference"
     (Closes: #910723)
   * Declare compliance with Debian Policy 4.3.0.
   * Bump debhelper compatibility level to 11.
   * Remove trailing whitespace from debian/*.
Checksums-Sha256: 
 cef0f9cbf08b33320aab4b1a638dfebda1fd85a70bdea8e5945351f02dc5b15f 2206 
libnet-upnp-perl_1.4.6-1.dsc
 10ae135a8f72d399501166bc697a3b300fb739a6614aa54408e4e08bec1e91dc 19614 
libnet-upnp-perl_1.4.6.orig.tar.gz
 a8ccfb7ffa34d12938d5183d0196b047b937130137b69092806e2d0574d03b1d 4032 
libnet-upnp-perl_1.4.6-1.debian.tar.xz
 771e932d6319e691d93187f8b4c8fc207d77c46306706d943af27894b891f4b9 5529 
libnet-upnp-perl_1.4.6-1_sourceonly.buildinfo
Checksums-Sha1: 
 0ed3c5a6d670adee6bb12903b19facd422660a37 2206 libnet-upnp-perl_1.4.6-1.dsc
 d636a8fc74f64de42440269d5e075f14023f39dd 19614 
libnet-upnp-perl_1.4.6.orig.tar.gz
 abc08a12fa12e71ef8a98e5037e23abbd514d1e5 4032 
libnet-upnp-perl_1.4.6-1.debian.tar.xz
 269b88233f1ae3e5371cba7b829960a886094aac 5529 
libnet-upnp-perl_1.4.6-1_sourceonly.buildinfo
Files: 
 512e8cde9f850ac333bbbac0e71f7376 2206 perl optional 
libnet-upnp-perl_1.4.6-1.dsc
 7dcc2db7df4f1f0832fd4c322353e08b 19614 perl optional 
libnet-upnp-perl_1.4.6.orig.tar.gz
 67772275f11038bcb6ed60019f2eaccd 4032 perl optional 
libnet-upnp-perl_1.4.6-1.debian.tar.xz
 83aff4fe1fcff15d85fd166200477c1c 5529 - - 
libnet-upnp-perl_1.4.6-1_sourceonly.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlwjsJxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZIBQ/+OPfBEd6dJLTcFca8wzu2DZspgm6k0Na5ptTKouppDh68brVHRJ+uc8vA
laS0/9qoGA5UHESFgUG9q353TrHyZCywA3pcPuOa+/3jNIiRCI/C/P+giZ7CLtDJ
TT7BnR/+LTYnzVAS2qlboRfmkPdHrbTnvUawUKWpHO09RZtm4hQ3Qt5WhXWwfStu
+gFqxIvHWbvRYgMKXi/0P2g5F1yUPM05o/X/2SnLtEVIHhPoE87GS+K0CBHX30KS
sacjZOxfxzjY/68HdllHt4H2CaT6HbLi/ovzI+QHP9peC2GyeBxeohtLPI3Ndy86
XX9vRrPc3uBgNWmXN5UH0oZo5aGYc5NObtI1z5JSMfdL7/PH3BJD40657QtO1hi+
hJ40ClaIp4TVjpUpWmQWLBWnIHMrsTq12x54kNrsQdgmGybNcer7tEdZ2EeoVztd
ZFmLQq9opbLO43slcXZ9NRdcluE5PfV/T91zyWupFzHU4ZPoFS8BCR1V13awWwP7
CHBWJJLe7qmGSzIqrtFIAdxvWQP+FFg6y9bniEh+OFbgUKQwDC1/TdekK2btxAlY
3jPQC1Ve8OkSPduG5l0rfaGIEW1PEXiRLZ+aJeHGjtVMBESygABnAT1Pd7BaC5xx
+NepUkXeehs4hn0gLXPJLc5G+/Axc8zJvO+jMz9yByT1GuLmjzg=
=dH31
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to