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/06/21 21:12:58 UTC

[jira] [Commented] (TS-4572) Fix "Unchecked return value" (CID 1356972)

    [ https://issues.apache.org/jira/browse/TS-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342709#comment-15342709 ] 

ASF GitHub Bot commented on TS-4572:
------------------------------------

GitHub user PSUdaemon opened a pull request:

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

    TS-4572: Fix "Unchecked return value" (CID 1356972)

    If the function returns an error value, the error value may be mistaken for a normal value.
    In get_effective_host: Value returned from a function is not checked for errors before being used (CWE-252)

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

    $ git pull https://github.com/PSUdaemon/trafficserver TS-4572

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

    https://github.com/apache/trafficserver/pull/728.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 #728
    
----
commit 3a3cb0ac6e3e4af2023c78f7cfc942f2318e2719
Author: Phil Sorber <so...@apache.org>
Date:   2016-06-21T21:11:01Z

    TS-4572: Fix "Unchecked return value" (CID 1356972)

----


> Fix "Unchecked return value" (CID 1356972)
> ------------------------------------------
>
>                 Key: TS-4572
>                 URL: https://issues.apache.org/jira/browse/TS-4572
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: Phil Sorber
>            Assignee: Phil Sorber
>             Fix For: 7.0.0
>
>
> {noformat}
> If the function returns an error value, the error value may be mistaken for a normal value.
> In get_effective_host: Value returned from a function is not checked for errors before being used (CWE-252)
> {noformat}



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