Bug 1536763 - libguestfs Lua bindings use strerror(), which isn’t thread safe
Summary: libguestfs Lua bindings use strerror(), which isn’t thread safe
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-20 22:12 UTC by Demi Marie Obenour
Modified: 2018-01-22 17:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-22 17:57:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Demi Marie Obenour 2018-01-20 22:12:50 UTC
Description of problem:

libguestfs Lua bindings use strerror(), which isn’t thread safe.

Expected behavior:

A function such as strerror_r() would be used.

Comment 1 Richard W.M. Jones 2018-01-22 17:02:29 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2018-January/msg00182.html

Comment 2 Richard W.M. Jones 2018-01-22 17:57:25 UTC
Fixed in >= 1.37.36.


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