Fix: possible NULL dereference in uri_parse_str_urls()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 20:45:09 +0000 (16:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Sep 2018 16:15:25 +0000 (12:15 -0400)
commit254bb8042a859c26e7646e38d9941884476c547d
treee85a41f9e56f42845d4af5a42a90f1d45611a7cb
parent26a320c1654e6dd46a8da46e6fb3cfec7d45b693
Fix: possible NULL dereference in uri_parse_str_urls()

The data_url parsing of uri_parse_str_urls assumes that a ctrl
URL was provided to check that both URLs point to the same
destination. A check for 'ctrl_uris != NULL' is added, but this
function needs to be refactored at some point at it is not clear
what its role is (i.e. it's probably doing too much).

Reported-by: Coverity Scan (1378214 Explicit null dereferenced)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/uri.c
This page took 0.025736 seconds and 4 git commands to generate.