apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: [PATCH] apr_gid_get on Win32 access violation
Date Mon, 27 Mar 2006 19:45:59 GMT
On 3/27/06, Antonio Alvarado Hernández <aalvaradoh@gmail.com> wrote:
> Hello.
>
> Following is a nano patch to avoid "Access violation" on testall.exe
> when call "apr_gid_get" with a NULL groupname on Win32, for your
> consideration.

APR doesn't generally check for NULL input on function arguments, it's
the responsibility of the caller to not pass invalid arguments.  This
problem should be fixed at the level of the calling code.

-garrett

Mime
View raw message