Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 4300eed

Browse files
* pecoff.c (coff_add): Use coff_read4, not memcpy.
Fixes #3
1 parent 051ecb4 commit 4300eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pecoff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ coff_add (struct backtrace_state *state, int descriptor,
727727
goto fail;
728728
syms_view_valid = 1;
729729

730-
memcpy (&str_size, syms_view.data + syms_size, 4);
730+
str_size = coff_read4 (syms_view.data + syms_size);
731731

732732
str_off = syms_off + syms_size;
733733

0 commit comments

Comments
 (0)