Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
017707ce
Commit
017707ce
authored
Jan 25, 2018
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Jan 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pecoff.c (coff_add): Use coff_read4, not memcpy.
From-SVN: r257040
parent
3fe3c7d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libbacktrace/ChangeLog
+4
-0
libbacktrace/pecoff.c
+1
-1
No files found.
libbacktrace/ChangeLog
View file @
017707ce
2018-01-24 Ian Lance Taylor <iant@golang.org>
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
PR other/68239
* mmap.c (backtrace_free_locked): Don't put more than 16 entries
* mmap.c (backtrace_free_locked): Don't put more than 16 entries
on the free list.
on the free list.
...
...
libbacktrace/pecoff.c
View file @
017707ce
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment