Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109227202
D21656.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
562 B
Referenced Files
None
Subscribers
None
D21656.diff
View Options
Index: head/libexec/rtld-elf/rtld.c
===================================================================
--- head/libexec/rtld-elf/rtld.c
+++ head/libexec/rtld-elf/rtld.c
@@ -499,6 +499,13 @@
if (auxp->a_type == AT_NULL)
break;
}
+ /* Since the auxiliary vector has moved, redigest it. */
+ for (i = 0; i < AT_COUNT; i++)
+ aux_info[i] = NULL;
+ for (auxp = aux; auxp->a_type != AT_NULL; auxp++) {
+ if (auxp->a_type < AT_COUNT)
+ aux_info[auxp->a_type] = auxp;
+ }
} else {
_rtld_error("No binary");
rtld_die();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 7:56 AM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16428835
Default Alt Text
D21656.diff (562 B)
Attached To
Mode
D21656: Fix aux_info corruption in rtld direct execution mode
Attached
Detach File
Event Timeline
Log In to Comment