Bug 1031650 - openlmi-providers: thread safety issues
Summary: openlmi-providers: thread safety issues
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openlmi-providers
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Minar
QA Contact: Robin Hack
URL:
Whiteboard:
Depends On:
Blocks: 1031135
TreeView+ depends on / blocked
 
Reported: 2013-11-18 13:14 UTC by Florian Weimer
Modified: 2014-06-18 03:05 UTC (History)
2 users (show)

Fixed In Version: openlmi-providers-0.4.2-5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:25:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.