[PATCH] Fix setenv() with NULL or "" name or '=' in name argument

Roland McGrath roland@redhat.com
Wed Jun 9 18:32:00 GMT 2004


> 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



More information about the Libc-alpha mailing list