Bug 1031650

Summary: openlmi-providers: thread safety issues
Product: Red Hat Enterprise Linux 7 Reporter: Florian Weimer <fweimer>
Component: openlmi-providersAssignee: Michal Minar <miminar>
Status: CLOSED CURRENTRELEASE QA Contact: Robin Hack <rhack>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: psklenar, tsmetana
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openlmi-providers-0.4.2-5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:25:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1031135    

Description Florian Weimer 2013-11-18 13:14:47 UTC
The function src/fan/fan.c:sprintf_chip_name() is not thread-safe.

The locking in src/logicalfile/LMI_UnixFileProvider.c:get_selabel_handle() is ineffective because it does not cover the actual use of the pointer.  The mutex must be held by the caller, as long as the pointer is used.

Comment 6 Ludek Smid 2014-06-13 09:25:26 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.