You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/02 19:57:58 UTC

[jira] [Work logged] (TS-4845) NULL dereference in url_sig

     [ https://issues.apache.org/jira/browse/TS-4845?focusedWorklogId=31476&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31476 ]

ASF GitHub Bot logged work on TS-4845:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Nov/16 19:57
            Start Date: 02/Nov/16 19:57
    Worklog Time Spent: 10m 
      Work Description: GitHub user jrushford opened a pull request:

    https://github.com/apache/trafficserver/pull/1176

    TS-4845: NULL dereference in url_sig

    (cherry picked from commit 6b4100c1200e309e229c9fdd24004e1d4fb59c9a)
    
    backport PR to 6.2.1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jrushford/trafficserver ts-4845

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1176.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1176
    
----

----


Issue Time Tracking
-------------------

    Worklog Id:     (was: 31476)
    Time Spent: 1h 50m  (was: 1h 40m)

> 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.0.0
>
>          Time Spent: 1h 50m
>  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)