You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "John Rushford (JIRA)" <ji...@apache.org> on 2016/09/14 01:13:21 UTC
[jira] [Resolved] (TS-4845) NULL dereference in url_sig
[ https://issues.apache.org/jira/browse/TS-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Rushford resolved TS-4845.
-------------------------------
Resolution: Fixed
merged the fix
> NULL dereference in url_sig
> ---------------------------
>
> Key: TS-4845
> URL: https://issues.apache.org/jira/browse/TS-4845
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: James Peach
> Assignee: John Rushford
> Fix For: 7.1.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Seen in the static analyzer:
> {noformat}
> Making all in url_sig
> CC url_sig.lo
> url_sig.c:564:38: warning: Null pointer argument in call to string length function
> app_qry = getAppQueryString(query, strlen(query));
> ^~~~~~~~~~~~~
> 1 warning generated.
> {noformat}
> If there is no query string you can still do {{goto allow}}, but it looks like the code assumes missing query string will always {{goto deny}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)