mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
* pecoff.c (coff_add): Use coff_read4, not memcpy.
From-SVN: r257040
This commit is contained in:
committed by
Ian Lance Taylor
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user