Index: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_linux_test.cc =================================================================== --- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_linux_test.cc +++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_linux_test.cc @@ -271,7 +271,7 @@ #else const char *shell = "/bin/sh"; #endif - const char *argv[] = {shell, "-c", "echo -n 'hello'"}; + const char *argv[] = {shell, "-c", "echo -n 'hello'", (char *)NULL}; int pid = StartSubprocess(shell, argv, /* stdin */ kInvalidFd, /* stdout */ pipe_fds[1]); ASSERT_GT(pid, 0);