This is the mail archive of the glibc-bugs@sources.redhat.com 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]

[Bug libc/283] POSIX.1-2001: setenv called with envname containing = should fail


------- Additional Comments From a dot josey at opengroup dot org  2004-07-23 13:28 -------
Similarly calling setenv() with an envname set to an empty string succeeds when
it is expected to fail (return -1 and set errno to EINVAL)

setenv("", "value", 0);
setenv("", "value", 1)

When called with the first argument a null pointer, it should  also fail, but
instead segment faults.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=283

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]