summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-19 07:47:17 -0500
committermidipix <writeonce@midipix.org>2017-12-19 07:47:17 -0500
commit8c828c3c5e772ed84a9b92fbc81712410029e41d (patch)
tree00b8d6ccff2d77481bbd7501b91950f11bfa7404
parent0cc26dcf1cdc8e4f9b6a14033571cc941e921ab4 (diff)
downloadpemagine-8c828c3c5e772ed84a9b92fbc81712410029e41d.tar.bz2
pemagine-8c828c3c5e772ed84a9b92fbc81712410029e41d.tar.xz
pe_open_image_from_addr(): fix oversight: do not init dst a second time.
-rw-r--r--src/ldso/pe_open_image_from_addr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ldso/pe_open_image_from_addr.c b/src/ldso/pe_open_image_from_addr.c
index e241fac..54dcd6e 100644
--- a/src/ldso/pe_open_image_from_addr.c
+++ b/src/ldso/pe_open_image_from_addr.c
@@ -58,7 +58,6 @@ pe_api int32_t pe_open_image_from_addr(
}
src = name;
- dst = mark;
cap = &dst[lentry->full_dll_name.strlen / sizeof(wchar16_t)];
for (; dst<cap; )