id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8245,strerror is not thread-safe on all platforms,Andrey Semashev,Steven Watanabe,"libs/random/src/random_device.cpp uses strerror function which is not thread-safe on many platforms (e.g. Linux). Its use should be replaced with strerror_r, when possible. Also, the way errno is used is not correct because it may be changed while the error string is composed. The suggested solution would be to use system_error from Boost.System instead of invalid_argument. The possible errors don't look like are caused by an invalid argument anyway. The Boost.System implementation already uses strerror_r when possible, so the switch to system_error would resolve the problem. ",Bugs,closed,To Be Determined,random,Boost 1.52.0,Problem,fixed,,