Mikhail Glushenkov 6766572dcb Check the return value of std::getenv.
When constructing std::strings from C strings, we should check the input
value to be not NULL so that the std::string constructor does not
segfault.
Fixes #3047.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59131 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-12 12:41:18 +00:00
..
2008-09-25 21:00:45 +00:00
2008-05-30 06:20:54 +00:00
2008-10-22 09:54:13 +00:00
2008-10-22 09:54:13 +00:00