Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dereference of null pointer in site_get_subdir #7

Merged
merged 1 commit into from
Jul 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .update
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Thu Jun 18 11:23:10 UTC 2020
Sun Jun 26 14:53:10 UTC 2020
2 changes: 1 addition & 1 deletion libsofia-sip-ua/nth/nth_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ void server_request(server_t *srv,
if (path == NULL)
path = "";

if (path[0])
if (path[0] && site)
subsite = site_get_subdir(site, path, &subpath);

if (subsite)
Expand Down