Opened 10 years ago
#8242 new Bugs
strerror is not thread-safe on all platforms
Reported by: | Andrey Semashev | Owned by: | Ion Gaztañaga |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: |
Description
boost/interprocess/errors.hpp uses strerror function which is not thread-safe on many platforms (e.g. Linux). Its use should be replaced with strerror_r, when possible.
As a hint for implementation see libs/system/src/error_code.cpp.
Note:
See TracTickets
for help on using tickets.