Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:E
libupnp
0001-Fixes-177-NULL-pointer-dereference-in-Find...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fixes-177-NULL-pointer-dereference-in-FindServiceCon.patch of Package libupnp
From c805c1de1141cb22f74c0d94dd5664bda37398e0 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com> 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor