Page MenuHomeFreeBSD

D23043.diff
No OneTemporary

D23043.diff

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

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)

Event Timeline