public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/grte] For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.
@ 2021-08-27 23:24 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-08-27 23:24 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=496eb9854c095800af66036938fbc052eb9efaac

commit 496eb9854c095800af66036938fbc052eb9efaac
Author: Brooks Moses <bmoses@google.com>
Date:   Fri Apr 11 13:37:15 2014 -0700

    For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.

Diff:
---
 elf/rtld.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/elf/rtld.c b/elf/rtld.c
index 4491f1a6b0..79351e53ed 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;
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-27 23:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 23:24 [glibc/maskray/grte] For b/12342355, remove inappropriate assert in EXEC_ORIGIN support Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).