- **Milestone**: 4.4.2 --> 4.7-Tentative


---

** [tickets:#908] During saClmFinalize(), clma should take lock when deleting 
client handle**

**Status:** assigned
**Milestone:** 4.7-Tentative
**Created:** Tue May 13, 2014 03:03 PM UTC by Mathi Naickan
**Last Updated:** Tue Oct 07, 2014 08:13 AM UTC
**Owner:** Mathi Naickan

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.


---

Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to