You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/11/02 20:25:23 UTC
[trafficserver] branch 6.2.x updated: TS-4845: NULL dereference in
url_sig
This is an automated email from the ASF dual-hosted git repository.
sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/6.2.x by this push:
new 61fca79 TS-4845: NULL dereference in url_sig
61fca79 is described below
commit 61fca794f3aa04f49e9e6d60b48931c0c1e23176
Author: John J. Rushford <jr...@apache.org>
AuthorDate: Tue Sep 13 21:08:52 2016 +0000
TS-4845: NULL dereference in url_sig
(cherry picked from commit 6b4100c1200e309e229c9fdd24004e1d4fb59c9a)
---
plugins/experimental/url_sig/url_sig.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/plugins/experimental/url_sig/url_sig.c b/plugins/experimental/url_sig/url_sig.c
index 82171d8..aa53a55 100644
--- a/plugins/experimental/url_sig/url_sig.c
+++ b/plugins/experimental/url_sig/url_sig.c
@@ -561,7 +561,9 @@ deny:
/* ********* Allow ********* */
allow:
- app_qry = getAppQueryString(query, strlen(query));
+ if (query != NULL) {
+ app_qry = getAppQueryString(query, strlen(query));
+ }
TSfree(url);
/* drop the query string so we can cache-hit */
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].