Benjamin Mahler created MESOS-3551:
--------------------------------------

             Summary: Replace use of strerror with thread-safe alternatives 
strerror_r / strerror_l.
                 Key: MESOS-3551
                 URL: https://issues.apache.org/jira/browse/MESOS-3551
             Project: Mesos
          Issue Type: Bug
          Components: libprocess, stout
            Reporter: Benjamin Mahler


{{strerror()}} is not required to be thread safe by POSIX and is listed as 
unsafe on Linux:

http://pubs.opengroup.org/onlinepubs/9699919799/
http://man7.org/linux/man-pages/man3/strerror.3.html

I don't believe we've seen any issues reported due to this. We should replace 
occurrences of strerror accordingly, possibly offering a wrapper in stout to 
simplify callsites.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to