Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149437178
D28442.1790127707.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
D28442.1790127707.diff
View Options
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -894,8 +894,10 @@
target = (Elf_Addr)(defobj->relocbase + def->st_value);
dbg("\"%s\" in \"%s\" ==> %p in \"%s\"",
- defobj->strtab + def->st_name, basename(obj->path),
- (void *)target, basename(defobj->path));
+ defobj->strtab + def->st_name,
+ obj->path == NULL ? NULL : basename(obj->path),
+ (void *)target,
+ defobj->path == NULL ? NULL : basename(defobj->path));
/*
* Write the new contents for the jmpslot. Note that depending on
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 23, 1:41 AM (5 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29868448
Default Alt Text
D28442.1790127707.diff (617 B)
Attached To
Mode
D28442: Fix null-pointer dereference in rtld
Attached
Detach File
Event Timeline
Log In to Comment