From: Brooks Moses Date: Fri, 11 Apr 2014 20:37:15 +0000 (-0700) Subject: For b/12342355, remove inappropriate assert in EXEC_ORIGIN support. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496eb9854c095800af66036938fbc052eb9efaac;p=thirdparty%2Fglibc.git For b/12342355, remove inappropriate assert in EXEC_ORIGIN support. --- 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; }