Re: non thread safe functions used in apache httpd project

2011-01-17 Thread Nick Kew
On 12 Jan 2011, at 10:29, Kevin J Walters wrote: Hi, I picked this up when you reported it in bugzilla. One feature of the apache way of working is that no individual developer 'owns' your question (unless you pay someone for support), so it risks going unanswered. Whilst looking at a thread

non thread safe functions used in apache httpd project

2011-01-12 Thread Kevin J Walters
Hi, Whilst looking at a thread safety issue in mod_fastcgi, i noticed there's some suspicious looking code in apache httpd project. server/mpm_common.c (2.2.17) has two functions ap_uname2id and ap_gname2id which call getpwnam and getgrnam, two non-reentrant functions. Comparing with typical