#908 During saClmFinalize(), clma should take lock when deleting client handle

future
assigned
None
defect
clm
-
4.2.x
minor
2016-09-20
2014-05-13
No

The following code in clma_hdl_rec_del() clma_util.c should be ideally protected under locks.
while (NULL != list_iter) {
if (list_iter->next == rm_node) {
list_iter->next = rm_node->next;

Without the lock, there is a possibility that saClmFinalize() can return BAD_HANDLE in a multi-threaded application that is sharing the handles.

Discussion

  • Anders Widell

    Anders Widell - 2014-10-07
    • Milestone: 4.3.3 --> 4.4.2
     
  • Mathi Naickan

    Mathi Naickan - 2015-03-31
    • Milestone: 4.4.2 --> 4.7-Tentative
     
  • Anders Bjornerstedt

    • Milestone: 4.7-Tentative --> 4.5.2
     
  • Anders Widell

    Anders Widell - 2015-11-02
    • Milestone: 4.5.2 --> 4.6.2
     
  • Mathi Naickan

    Mathi Naickan - 2016-05-04
    • Milestone: 4.6.2 --> 4.7.2
     
  • Anders Widell

    Anders Widell - 2016-09-20
    • Milestone: 4.7.2 --> 5.0.2
     
  • Anders Widell

    Anders Widell - 2017-04-03
    • Milestone: 5.0.2 --> future
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks