Commit 4300eeda by Ian Lance Taylor

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

Fixes #3
parent 051ecb46
...@@ -727,7 +727,7 @@ coff_add (struct backtrace_state *state, int descriptor, ...@@ -727,7 +727,7 @@ coff_add (struct backtrace_state *state, int descriptor,
goto fail; goto fail;
syms_view_valid = 1; 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; str_off = syms_off + syms_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment