]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.
authorBrooks Moses <bmoses@google.com>
Fri, 11 Apr 2014 20:37:15 +0000 (13:37 -0700)
committerBrooks Moses <bmoses@google.com>
Fri, 11 Apr 2014 20:37:15 +0000 (13:37 -0700)
elf/rtld.c

index 4491f1a6b04401fc9d6d119a5dd66ad05580ed65..79351e53edeb0bec2eb080bd8192e70890280b00 100644 (file)
@@ -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;
 }