Menu

#1501 imm: wrong ccbId is used in immnd_evt_proc_ccb_apply

4.5.2
fixed
None
defect
imm
nd
minor
2015-09-28
2015-09-24
No

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)

Related

Tickets: #1501
Wiki: ChangeLog-4.5.2
Wiki: ChangeLog-4.6.1

Discussion

  • Zoran Milinkovic

    • status: accepted --> review
     
  • Zoran Milinkovic

    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

  • Zoran Milinkovic

    • status: review --> fixed
     

Log in to post a comment.