This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Mar 11, 2015 at 9:11 AM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote: > Attached trivial patch makes setenv(..., NULL, ...) fail instead of > producing "bad" environment. Tested on Linux/x86_64, no new failures. Now with added test :-) 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com> * stdlib/setenv.c (setenv): Reject NULL value in setenv. * stdlib/tst-environ.c (do_test): Add test case. -- Paul Pluzhnikov
Attachment:
null-setenv.patch2.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |