diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2003-12-31 15:10:41 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2003-12-31 15:10:41 +0000 |
| commit | ae59481b1a045583da8d0aacd6e58aa9c3916a48 (patch) | |
| tree | 9c4b81ac3663a52ea960ed2d8e3cc74b2b9c870e /libexec | |
| parent | eae42a59499700f045162bf0a73e2ada12056884 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/rtld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index ddd180044ad8b..73568d6478bd2 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -514,6 +514,7 @@ digest_dynamic(Obj_Entry *obj, int early) const Elf_Dyn *dyn_rpath = NULL; int plttype = DT_REL; + obj->bind_now = false; for (dynp = obj->dynamic; dynp->d_tag != DT_NULL; dynp++) { switch (dynp->d_tag) { @@ -991,6 +992,7 @@ init_rtld(caddr_t mapbase) * The "path" member can't be initialized yet because string constatns * cannot yet be acessed. Below we will set it correctly. */ + memset(&objtmp, 0, sizeof(objtmp)); objtmp.path = NULL; objtmp.rtld = true; objtmp.mapbase = mapbase; |
