Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160684865
D23043.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
D23043.diff
View Options
Index: libexec/rtld-elf/rtld.c
===================================================================
--- libexec/rtld-elf/rtld.c
+++ libexec/rtld-elf/rtld.c
@@ -1404,6 +1404,10 @@
if (obj->origin_path != NULL)
return (true);
obj->origin_path = xmalloc(PATH_MAX);
+ if (obj->path[0] == '#') {
+ strncpy(obj->origin_path, obj->path, strchr(obj->path, '/') - obj->path);
+ return true;
+ }
return (rtld_dirname_abs(obj->path, obj->origin_path) != -1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 27, 6:46 PM (14 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34413327
Default Alt Text
D23043.diff (463 B)
Attached To
Mode
D23043: rtld-elf: Fix loading libraries with ORIGIN flag (like LLVM) via LD_LIBRARY_PATH_FDS
Attached
Detach File
Event Timeline
Log In to Comment