Hello community, here is the log from the commit of package libupnp for openSUSE:Leap:15.2 checked in at 2020-06-14 04:44:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/libupnp (Old) and /work/SRC/openSUSE:Leap:15.2/.libupnp.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libupnp" Sun Jun 14 04:44:19 2020 rev:15 rq:814285 version:1.6.25 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/libupnp/libupnp.changes 2020-01-15 15:25:30.214579307 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.libupnp.new.3606/libupnp.changes 2020-06-14 04:44:22.658652116 +0200 @@ -1,0 +2,6 @@ +Tue Jun 9 19:08:27 UTC 2020 - Jan Engelhardt <[email protected]> + +- Add 0001-Fixes-177-NULL-pointer-dereference-in-FindServiceCon.patch + [boo#1172625] + +------------------------------------------------------------------- New: ---- 0001-Fixes-177-NULL-pointer-dereference-in-FindServiceCon.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libupnp.spec ++++++ --- /var/tmp/diff_new_pack.ihb0t5/_old 2020-06-14 04:44:24.230657228 +0200 +++ /var/tmp/diff_new_pack.ihb0t5/_new 2020-06-14 04:44:24.234657241 +0200 @@ -30,6 +30,7 @@ Source1: http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%20%version/libupnp-%version.tar.bz2.sha1 Source42: baselibs.conf Patch0: libupnp-configure.patch +Patch2: 0001-Fixes-177-NULL-pointer-dereference-in-FindServiceCon.patch BuildRequires: libtool BuildRequires: pkgconfig @@ -63,8 +64,7 @@ systems. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build autoreconf -fiv ++++++ 0001-Fixes-177-NULL-pointer-dereference-in-FindServiceCon.patch ++++++ >From c805c1de1141cb22f74c0d94dd5664bda37398e0 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez <[email protected]> Date: Thu, 4 Jun 2020 12:03:03 -0300 Subject: [PATCH] Fixes #177: NULL pointer dereference in FindServiceControlURLPath References: https://bugzilla.opensuse.org/show_bug.cgi?id=1172625 Also fixes its dual bug in FindServiceEventURLPath. --- upnp/src/genlib/service_table/service_table.c | 6 ++++++ 1 file changed, 6 insertions(+) Index: libupnp-1.6.25/upnp/src/genlib/service_table/service_table.c =================================================================== --- libupnp-1.6.25.orig/upnp/src/genlib/service_table/service_table.c +++ libupnp-1.6.25/upnp/src/genlib/service_table/service_table.c @@ -300,6 +300,9 @@ FindServiceEventURLPath( service_table * uri_type parsed_url; uri_type parsed_url_in; + if (!table || !eventURLPath) { + return NULL; + } if( ( table ) && ( parse_uri( eventURLPath, @@ -352,6 +355,9 @@ FindServiceControlURLPath( service_table uri_type parsed_url; uri_type parsed_url_in; + if (!table || !controlURLPath) { + return NULL; + } if( ( table ) && ( parse_uri
