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
a794e494
Commit
a794e494
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): Only release syms_view if it is valid.
From-SVN: r257053
parent
45f3ab19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
libbacktrace/ChangeLog
+4
-0
libbacktrace/pecoff.c
+5
-2
No files found.
libbacktrace/ChangeLog
View file @
a794e494
2018-01-25 Ian Lance Taylor <iant@golang.org>
2018-01-25 Ian Lance Taylor <iant@golang.org>
* pecoff.c (coff_add): Only release syms_view if it is valid.
2018-01-25 Ian Lance Taylor <iant@golang.org>
* pecoff.c (coff_add): Another memcpy -> coff_read4 fix.
* pecoff.c (coff_add): Another memcpy -> coff_read4 fix.
2018-01-24 Ian Lance Taylor <iant@golang.org>
2018-01-24 Ian Lance Taylor <iant@golang.org>
...
...
libbacktrace/pecoff.c
View file @
a794e494
...
@@ -804,8 +804,11 @@ coff_add (struct backtrace_state *state, int descriptor,
...
@@ -804,8 +804,11 @@ coff_add (struct backtrace_state *state, int descriptor,
backtrace_release_view
(
state
,
&
sects_view
,
error_callback
,
data
);
backtrace_release_view
(
state
,
&
sects_view
,
error_callback
,
data
);
sects_view_valid
=
0
;
sects_view_valid
=
0
;
backtrace_release_view
(
state
,
&
syms_view
,
error_callback
,
data
);
if
(
syms_view_valid
)
syms_view_valid
=
0
;
{
backtrace_release_view
(
state
,
&
syms_view
,
error_callback
,
data
);
syms_view_valid
=
0
;
}
/* Read all the debug sections in a single view, since they are
/* Read all the debug sections in a single view, since they are
probably adjacent in the file. We never release this view. */
probably adjacent in the file. We never release this view. */
...
...
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