* pecoff.c (coff_add): Use coff_read4, not memcpy.

Fixes #3
This commit is contained in:
Ian Lance Taylor
2018-01-24 18:42:50 -08:00
parent 051ecb46f8
commit 4300eedae4

View File

@@ -727,7 +727,7 @@ coff_add (struct backtrace_state *state, int descriptor,
goto fail;
syms_view_valid = 1;
memcpy (&str_size, syms_view.data + syms_size, 4);
str_size = coff_read4 (syms_view.data + syms_size);
str_off = syms_off + syms_size;