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 20:48:58 UTC
[jira] [Commented] (TS-4571) Fix "pointer to local outside scope"
(CID 1356978)
[ https://issues.apache.org/jira/browse/TS-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342647#comment-15342647 ]
ASF GitHub Bot commented on TS-4571:
------------------------------------
GitHub user PSUdaemon opened a pull request:
https://github.com/apache/trafficserver/pull/727
TS-4571: Fix "pointer to local outside scope" (CID 1356978)
Dereferencing the returned or out-of-scope stack pointer will access an invalid location on the stack after its scope or after the function returns.
In ParentRecord::Init(matcher_line *): Pointer to a local stack variable returned or used outside scope (CWE-562)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PSUdaemon/trafficserver TS-4571
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/727.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 #727
----
commit 7c33f9f5d55b63885392f591f088c7172855fdab
Author: Phil Sorber <so...@apache.org>
Date: 2016-06-21T20:47:32Z
TS-4571: Fix "pointer to local outside scope" (CID 1356978)
----
> Fix "pointer to local outside scope" (CID 1356978)
> --------------------------------------------------
>
> Key: TS-4571
> URL: https://issues.apache.org/jira/browse/TS-4571
> Project: Traffic Server
> Issue Type: Bug
> Components: Parent Proxy
> Reporter: Phil Sorber
>
> {noformat}
> Dereferencing the returned or out-of-scope stack pointer will access an invalid location on the stack after its scope or after the function returns.
> In ParentRecord::Init(matcher_line *): Pointer to a local stack variable returned or used outside scope (CWE-562)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)