[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2015-03-04 Thread Robert Apanowicz
33 defects pointed out by Coverity Tool for SMF in default branch. 7 defects ignored since those were not relevant. 26 defects fixed by the scope of this ticket. Coverity tool doesn't show any defects for SMF in default branch at the moment. --- ** [tickets:#1154] smf: defects detected by

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2015-02-16 Thread Robert Apanowicz
8\. SmfUpgradeStep::modifyInformationModel(): there is no logically dead code at the end of while loop. Constructing of SmfRollbackCcb cannot be moved out from the while loop and put before it, because doImmOperations adds to it each turn of the loop. --- ** [tickets:#1154] smf: defects

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2015-02-15 Thread Robert Apanowicz
8\. SmfUpgradeStep::modifyInformationModel(): logically dead code at the end of while loop. If statement handles 3 cases (continue/return/break) where none of them let to reach the bottom of while loop. Coverity complaining about not running the destructor of the instance of SmfRollbackCcb

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2015-02-04 Thread Robert Apanowicz
5\. some places: setenv(): return value not checked. 6\. smfsv_evt.c: smf_enc_cbk_req(): branch_past_initialization problem for length variable: this problem is shown only by coverity so far. It is better to fix since it can cause problems with some compilers. Proposal is to initialize at the

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2015-02-03 Thread Robert Apanowicz
- **Comment**: 2\. smfd_smfnd.c: smfnd_up(): there are 2 problems. -return value not checked and caller function proc_mds_info() steps the no_of_smfnd counter anyway. -memory leak in case when saClmInitialize() returns other than SA_AIS_OK. Proposed solution: free memory if

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2015-02-03 Thread Robert Apanowicz
Separate tickets created for 2 defects: #1199 smf: fault in parsing some combinations of parent and type in activationUnitTemplate #1241 smf: node iterator is not stepped correctly Smaller problems handled directly within this ticket. A common patch is planned to be created. That will fix

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2014-11-02 Thread Robert Apanowicz
- **status**: unassigned -- assigned - **assigned_to**: Robert Apanowicz --- ** [tickets:#1154] smf: defects detected by Coverity tool should be fixed** **Status:** assigned **Milestone:** 4.6.FC **Created:** Mon Oct 06, 2014 11:38 AM UTC by Robert Apanowicz **Last Updated:** Mon Oct 06, 2014

[tickets] [opensaf:tickets] #1154 smf: defects detected by Coverity tool should be fixed

2014-10-06 Thread Robert Apanowicz
--- ** [tickets:#1154] smf: defects detected by Coverity tool should be fixed** **Status:** unassigned **Milestone:** 4.6.FC **Created:** Mon Oct 06, 2014 11:38 AM UTC by Robert Apanowicz **Last Updated:** Mon Oct 06, 2014 11:38 AM UTC **Owner:** nobody This ticket is the placeholder for all