This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Fix setenv() with NULL or "" name or '=' in name argument
- From: Roland McGrath <roland at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Ulrich Drepper <drepper at redhat dot com>,Michael T Kerrisk <mtk-lists at gmx dot net>, libc-alpha at sources dot redhat dot com
- Date: Wed, 9 Jun 2004 11:32:39 -0700
- Subject: Re: [PATCH] Fix setenv() with NULL or "" name or '=' in name argument
> 2004-06-09 Jakub Jelinek <jakub@redhat.com>
>
> * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
> NULL, "" or contains '=' character in it. Reported by
> Michael T Kerrisk <mtk-lists@gmx.net>.
> * stdlib/tst-environ.c: Include errno.h.
> (main): Add tests for these arguments to setenv/unsetenv.
I put this in.
Thanks,
Roland