Page MenuHomeFreeBSD

D21656.diff
No OneTemporary

D21656.diff

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

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)

Event Timeline