Skip to content
Commit 4b9f0b67 authored by Kovarththanan Rajaratnam's avatar Kovarththanan Rajaratnam
Browse files

This patch ensures that Path::GetMainExecutable is able to handle the

case where realpath() fails. When this occurs we segfault trying to
create a std::string from a NULL pointer.

Fixes PR5635.

llvm-svn: 90082
parent d6ee4674
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment