mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 22:00:08 +00:00
For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.
This commit is contained in:
parent
502932b7f5
commit
496eb9854c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user