aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/interpose.c
diff options
context:
space:
mode:
authorcomex2015-01-29 21:31:11 -0500
committercomex2015-01-29 21:31:11 -0500
commit6fecd889e388f7642969d58bfe429a756d29413f (patch)
treef5f28651b14e46294df34040428303f156163f29 /lib/darwin/interpose.c
parent"Fix" broken launchd injection stuff. (diff)
downloadsubstitute-6fecd889e388f7642969d58bfe429a756d29413f.tar.gz
a bunch of stuff that should have been committed separately
Diffstat (limited to 'lib/darwin/interpose.c')
-rw-r--r--lib/darwin/interpose.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/darwin/interpose.c b/lib/darwin/interpose.c
index bf9ceb4..419fc65 100644
--- a/lib/darwin/interpose.c
+++ b/lib/darwin/interpose.c
@@ -123,6 +123,7 @@ static int try_bind_section(void *bind, size_t size, const struct interpose_stat
}
if (h->old_ptr)
*(uintptr_t *) h->old_ptr = old - addend;
+ offset += stride;
}
break;
}