Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1-incubating, 2.2.0
-
None
-
centos 6.7
centos 7.2
Description
getpwuid is not a Thread-safe function
// Get client user name.
struct passwd passwd; / man getpwuid */
passwd = getpwuid (getuid()); /* Get the uid of the running processand use it to get a record from /etc/passwd */
if (strlen(passwd->pw_name) > 0)
else
inContext.clientUserName = NULL;
Attachments
Issue Links
- links to