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

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

Github user jpeach commented on the issue:

    https://github.com/apache/trafficserver/pull/727
  
    @PSUdaemon do you want to change the ``sprintf`` to ``snprintf`` while you 
are changing this function?


> 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
>            Assignee: Phil Sorber
>             Fix For: 7.0.0
>
>
> {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)

Reply via email to