mirror of git://gcc.gnu.org/git/gcc.git
* pecoff.c (coff_add): Use coff_read4, not memcpy.
From-SVN: r257040
This commit is contained in:
parent
3fe3c7d749
commit
017707ce06
|
|
@ -1,3 +1,7 @@
|
|||
2018-01-24 Ian Lance Taylor <iant@golang.org>
|
||||
|
||||
* pecoff.c (coff_add): Use coff_read4, not memcpy.
|
||||
|
||||
2018-01-24 Ian Lance Taylor <iant@golang.org>
|
||||
|
||||
PR other/68239
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue