qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-986) Coverity issues on master
Date Tue, 01 May 2018 19:06:00 GMT

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

ASF subversion and git services commented on DISPATCH-986:
----------------------------------------------------------

Commit 4fb04f463c6b0f9e1b8b0d9b1b9f2dfa87df12b7 in qpid-dispatch's branch refs/heads/1.1.x
from [~ganeshmurthy]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=4fb04f4 ]

DISPATCH-986 - Coverity fixes. This closes #297


> Coverity issues on master
> -------------------------
>
>                 Key: DISPATCH-986
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-986
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.1.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.1.0
>
>
> 2 new defect(s) introduced to Apache Qpid dispatch-router found with Coverity Scan.
>  2 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 2 of 2 defect(s)
>  
>  
>  ** CID 277470:  Resource leaks  (RESOURCE_LEAK)
>  /home/kgiusti/work/dispatch/qpid-dispatch/src/connection_manager.c: 607 in qd_dispatch_configure_sasl_plugin()
>  
>  
>  ________________________________________________________________________________________________________
>  *** CID 277470:  Resource leaks  (RESOURCE_LEAK)
>  /home/kgiusti/work/dispatch/qpid-dispatch/src/connection_manager.c: 607 in qd_dispatch_configure_sasl_plugin()
>  601         }
>  602     
>  603         sasl_plugin->sasl_init_hostname         = qd_entity_opt_string(entity,
"realm", 0); CHECK();
>  604         sasl_plugin->auth_ssl_profile           = qd_entity_opt_string(entity,
"sslProfile", 0); CHECK();
>  605     
>  606         qd_log(cm->log_source, QD_LOG_INFO, "Created SASL plugin config
with name %s", sasl_plugin->name);
>  >>>     CID 277470:  Resource leaks  (RESOURCE_LEAK)
>  >>>     Variable "auth_port" going out of scope leaks the storage it points
to.
>  607         return sasl_plugin;
>  608     
>  609         error:
>  610             qd_log(cm->log_source, QD_LOG_ERROR, "Unable to create SASL
plugin config: %s", qd_error_message());
>  611             config_sasl_plugin_free(cm, sasl_plugin);
>  612             return 0;
>  
>  ** CID 277469:  Resource leaks  (RESOURCE_LEAK)
>  /home/kgiusti/work/dispatch/qpid-dispatch/src/connection_manager.c: 607 in qd_dispatch_configure_sasl_plugin()
>  
>  
>  ________________________________________________________________________________________________________
>  *** CID 277469:  Resource leaks  (RESOURCE_LEAK)
>  /home/kgiusti/work/dispatch/qpid-dispatch/src/connection_manager.c: 607 in qd_dispatch_configure_sasl_plugin()
>  601         }
>  602     
>  603         sasl_plugin->sasl_init_hostname         = qd_entity_opt_string(entity,
"realm", 0); CHECK();
>  604         sasl_plugin->auth_ssl_profile           = qd_entity_opt_string(entity,
"sslProfile", 0); CHECK();
>  605     
>  606         qd_log(cm->log_source, QD_LOG_INFO, "Created SASL plugin config
with name %s", sasl_plugin->name);
>  >>>     CID 277469:  Resource leaks  (RESOURCE_LEAK)
>  >>>     Variable "auth_host" going out of scope leaks the storage it points
to.
>  607         return sasl_plugin;
>  608     
>  609         error:
>  610             qd_log(cm->log_source, QD_LOG_ERROR, "Unable to create SASL
plugin config: %s", qd_error_message());
>  611             config_sasl_plugin_free(cm, sasl_plugin);
>  612             return 0;



--
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