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/10/18 16:01:59 UTC

[jira] [Work logged] (TS-4979) clang-analyzer error in HttpTransact.cc

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

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

                Author: ASF GitHub Bot
            Created on: 18/Oct/16 16:01
            Start Date: 18/Oct/16 16:01
    Worklog Time Spent: 10m 
      Work Description: GitHub user SolidWallOfCode opened a pull request:

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

    TS-4979: Fix coverity complaint about potential null pointer.

    

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

    $ git pull https://github.com/SolidWallOfCode/trafficserver ts-4979

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

    https://github.com/apache/trafficserver/pull/1116.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 #1116
    
----
commit ea965643027e96a22016b3c916ecbeb7ee2fa0ee
Author: Alan M. Carroll <so...@yahoo-inc.com>
Date:   2016-10-18T16:00:07Z

    TS-4979: Fix coverity complaint about potential null pointer.

----


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

            Worklog Id:     (was: 30806)
            Time Spent: 10m
    Remaining Estimate: 0h

> clang-analyzer error in HttpTransact.cc
> ---------------------------------------
>
>                 Key: TS-4979
>                 URL: https://issues.apache.org/jira/browse/TS-4979
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Leif Hedstrom
>            Assignee: Alan M. Carroll
>             Fix For: 7.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
>     if (mimefield_value_equal(host_field, *host_val, host_val_len) == false) {
> 7
> ←
> Passing null pointer value via 2nd parameter 'value'	
> →
> 8
> ←
> Calling 'mimefield_value_equal'	
> →
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)