diff options
author | deraadt <> | 2015-04-11 16:03:21 +0000 |
---|---|---|
committer | deraadt <> | 2015-04-11 16:03:21 +0000 |
commit | b6e092d1e41107edc3265fcda97c497aa21950e1 (patch) | |
tree | 02ee416418c40719cf48cd968d4b546afbaf642a /src/lib/libc/stdlib/realpath.c | |
parent | 3de00996e453d8f15c3be32318c2c06666256670 (diff) | |
download | openbsd-b6e092d1e41107edc3265fcda97c497aa21950e1.tar.gz openbsd-b6e092d1e41107edc3265fcda97c497aa21950e1.tar.bz2 openbsd-b6e092d1e41107edc3265fcda97c497aa21950e1.zip |
Remove all getenv() calls, especially those wrapped by issetugid().
getenv()'s wrapped by issetugid() are safe, but issetugid() is correct
difficult to impliment on many operating systems. By accident, a grand
experiment was run over the last year, where issetugid() returned 1 (the
safe value) on a few operating systems. Noone noticed & complained that
certain environment variables were not working.......
ok doug beck jsing, discussion with others
Diffstat (limited to 'src/lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions