From 496eb9854c095800af66036938fbc052eb9efaac Mon Sep 17 00:00:00 2001 From: Brooks Moses Date: Fri, 11 Apr 2014 13:37:15 -0700 Subject: [PATCH] For b/12342355, remove inappropriate assert in EXEC_ORIGIN support. --- elf/rtld.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/elf/rtld.c b/elf/rtld.c index 4491f1a6b04..79351e53ede 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -2867,10 +2867,6 @@ get_directory (const char *file_path) dest = __mempcpy (dest, file_path, path_len); *dest = '\0'; - /* Confirm that the constructed path is valid. */ - struct stat64 st; - assert (__xstat64 (_STAT_VER, full_dir_path, &st) == 0); - return full_dir_path; } -- 2.47.2