Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163273439
D28442.id83279.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
D28442.id83279.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, Jul 22, 3:36 PM (16 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35370015
Default Alt Text
D28442.id83279.diff (617 B)
Attached To
Mode
D28442: Fix null-pointer dereference in rtld
Attached
Detach File
Event Timeline
Log In to Comment