[
https://issues.apache.org/jira/browse/DISPATCH-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423018#comment-16423018
]
ASF GitHub Bot commented on DISPATCH-954:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/qpid-dispatch/pull/277
> Fix Coverity issue on master branch
> -----------------------------------
>
> Key: DISPATCH-954
> URL: https://issues.apache.org/jira/browse/DISPATCH-954
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 1.0.1
> Reporter: Ganesh Murthy
> Priority: Major
> Fix For: 1.1.0
>
>
> Please find the latest report on new defect(s) introduced to Apache Qpid
> dispatch-router found with Coverity Scan.
>
> 1 new defect(s) introduced to Apache Qpid dispatch-router found with
> Coverity Scan.
> 4 defect(s), reported by Coverity Scan earlier, were marked fixed in the
> recent build analyzed by Coverity Scan.
>
> New defect(s) Reported-by: Coverity Scan
> Showing 1 of 1 defect(s)
>
>
> ** CID 267696: Memory - illegal accesses (USE_AFTER_FREE)
> /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c: 215 in
> daemon_process()
>
>
>
> ________________________________________________________________________________________________________
> *** CID 267696: Memory - illegal accesses (USE_AFTER_FREE)
> /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c: 215 in
> daemon_process()
> 209 cur_path,
> 210 !strcmp("/", cur_path)? "":"/",
> 211 config_path);
> 212 }
> 213
> 214 // Releasing temporary path variable
> >>> CID 267696: Memory - illegal accesses (USE_AFTER_FREE)
> >>> Calling "memset" dereferences freed pointer "cur_path".
> 215 memset(cur_path, 0, path_size * sizeof(char));
> 216 free(cur_path);
> 217
> 218 }
> 219
> 220 //
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]