Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Unresolved
-
1.0.1
-
None
-
Linux
Description
This is imported from bugzilla item: http://bugs.mariadb.com/show_bug.cgi?id=568
Description martin.brampton@skysql.com 2014-10-07 08:50:50 UTC
Although some are currently safe, it is likely that some are not. It would be better, as a policy for present and future robustness to use thread safe versions of C library functions, or to explicitly protect them close to the point of use. For example crypt (crypt_r is available), getenv, getopt, localtime, rand (drand48_r may be an alternative), readdir (readdir_r is available), strtok (strtok_r is available). This is not necessarily an exhaustive list.