In immnd_evt_proc_ccb_apply(), evt->info.objModify.ccbId and evt->info.objDelete.ccbId are used instead of evt->info.ccbId.
The code execution is safe because ccbId is the first member in objModify and objDelete structures.
evt->info.objModify.ccbId is used in opensaf-4.5.x, opensaf-4.6.x and defautl(4.7)
evt->info.objDelete.ccbId is introduced in #744 and is used only in default(4.7)
opensaf-4.5.x:
opensaf-4.6.x:
https://sourceforge.net/p/opensaf/mailman/message/34487429/
default(4.7):
https://sourceforge.net/p/opensaf/mailman/message/34487431/
opensaf-4.5.x:
changeset: 6898:7844f8b6d735
branch: opensaf-4.5.x
parent: 6895:a63925cc2bc0
user: Zoran Milinkovic zoran.milinkovic@ericsson.com
date: Thu Sep 24 17:09:42 2015 +0200
summary: imm: correct ccbId in immnd_evt_proc_ccb_apply [#1501]
opensaf-4.6.x:
changeset: 6899:961c470e64bb
branch: opensaf-4.6.x
parent: 6896:18b4458e357a
user: Zoran Milinkovic zoran.milinkovic@ericsson.com
date: Thu Sep 24 17:09:42 2015 +0200
summary: imm: correct ccbId in immnd_evt_proc_ccb_apply [#1501]
default(4.7):
changeset: 6900:c74913f8b5d9
tag: tip
parent: 6897:a8fa29e9bb10
user: Zoran Milinkovic zoran.milinkovic@ericsson.com
date: Thu Sep 24 17:04:19 2015 +0200
summary: imm: correct ccbId in immnd_evt_proc_ccb_apply [#1501]
Related
Tickets:
#1501