apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: cvs commit: apr/user/unix userinfo.c
Date Fri, 20 Jul 2001 13:42:03 GMT
On 20 Jul 2001 trawick@apache.org wrote:

> trawick     01/07/20 06:35:27
>
>   Modified:    .        CHANGES
>                user/unix userinfo.c
>   Log:
>
>   getpwnam_safe() must be provided with the struct passwd and char
>   buffer to provide to getpwnam_r()... otherwise, the struct passwd
>   and the data pointed to by it (e.g., pw_name) are no longer valid
>   storage when getpwnam_safe() returns

Oops!  Good catch.  Thanks.  =-)

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message