[Bugs] [Bug 1306560] New: Accessing program list in build_prog_details () should be lock protected

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 11 10:01:05 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1306560

            Bug ID: 1306560
           Summary: Accessing program list in build_prog_details () should
                    be lock protected
           Product: GlusterFS
           Version: mainline
         Component: rpc
          Assignee: bugs at gluster.org
          Reporter: amukherj at redhat.com
                CC: bugs at gluster.org



Description of problem:

Currently build_prog_details() iterates over the rpcsvc's program list and
constructs a local linked list. However the same happens with out any lock
protection and hence this can cause a crash if some other writer threads modify
the same list.

Version-Release number of selected component (if applicable):
Mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list