- **status**: review --> fixed
- **Comment**:

[staging:a5aa1d]
[staging:561c3d]
[staging:61c9fd]
[staging:10736d]

changeset:   5864:10736df295ff
tag:         tip
parent:      5860:84958d45db94
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Fri Sep 19 18:55:01 2014 +0530
summary:     imm: check the end ccb iterator before accessing data for ccb 
augument [#1100]

changeset:   5863:61c9fd4e51cb
branch:      opensaf-4.5.x
parent:      5859:5a5e82f5bdd9
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Fri Sep 19 18:55:01 2014 +0530
summary:     imm: check the end ccb iterator before accessing data for ccb 
augument [#1100]

changeset:   5862:561c3dde1be2
branch:      opensaf-4.4.x
parent:      5858:4063054eef35
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Fri Sep 19 18:55:01 2014 +0530
summary:     imm: check the end ccb iterator before accessing data for ccb 
augument [#1100]

changeset:   5861:a5aa1d781587
branch:      opensaf-4.3.x
parent:      5857:de216678a749
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Fri Sep 19 18:55:01 2014 +0530
summary:     imm: check the end ccb iterator before accessing data for ccb 
augument [#1100]





---

** [tickets:#1100] imm: using invalid iterator in ccbAugmentInit**

**Status:** fixed
**Milestone:** 4.3.3
**Created:** Tue Sep 16, 2014 03:25 PM UTC by Zoran Milinkovic
**Last Updated:** Fri Sep 19, 2014 07:45 AM UTC
**Owner:** Neelakanta Reddy

When CCB state is IMM_CCB_CREATE_OP, mutation iterator (omuti) can go to the 
end of the mutation tree, and invalidate the iterator.
Later, the iterator (omuti) is used to access member data.

This case is very rare. Check or assert is needed before the access of member 
data.

            case IMM_CCB_CREATE_OP:
                TRACE("Augment CCB in state CREATE_OP");
                for(omuti=ccb->mMutations.begin();omuti != 
ccb->mMutations.end();++omuti) {
                    if(omuti->second->mContinuationId == rsp->inv) {break;}
                }     
                obj = omuti->second->mAfterImage;    
                break;



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to