[ 
https://issues.apache.org/jira/browse/MESOS-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bannier reassigned MESOS-3551:
---------------------------------------

    Assignee: Benjamin Bannier

> 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
>            Assignee: Benjamin Bannier
>              Labels: newbie, tech-debt
>
> {{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