qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-954) Fix Coverity issue on master branch
Date Mon, 02 Apr 2018 18:27:00 GMT

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

ASF GitHub Bot commented on DISPATCH-954:
-----------------------------------------

Github user fgiorgetti closed the pull request at:

    https://github.com/apache/qpid-dispatch/pull/276


> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message