You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rukletsov (JIRA)" <ji...@apache.org> on 2015/11/09 11:19:11 UTC
[jira] [Updated] (MESOS-3551) Replace use of strerror with
thread-safe alternatives strerror_r / strerror_l.
[ https://issues.apache.org/jira/browse/MESOS-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rukletsov updated MESOS-3551:
---------------------------------------
Labels: mesosphere newbie tech-debt (was: newbie tech-debt)
> 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: mesosphere, 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)