Searched hist:95467 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.0-release/sys/kern/ | ||
H A D | kern_environment.c | diff 95467 Thu Apr 25 18:25:15 MDT 2002 bde Fixed some longstanding bugs in _getenv_static(): - malformed environment strings (ones without an '=') were not rejected. There shouldn't be any of these, but when the static environment is empty it always begins with one of these; this one should be considered as the terminator after the end of the environment, but it isn't. - the comparison of the name being looked up with the name in the environment was fuzzy -- only the characters up to the length of the latter were compared, so _getenv_static("foobar") matched "foo=..." in the environment and everything matched "" in the empty environment. MFC after: 3 days |
Completed in 65 milliseconds