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
b1bc0f50
Commit
b1bc0f50
authored
Jul 23, 2019
by
Ren Kimura
Committed by
Martin Liska
Jul 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libiberty: Check zero value shstrndx in simple-object-elf.c
From-SVN: r273718
parent
c0cdef59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
libiberty/ChangeLog
+5
-0
libiberty/simple-object-elf.c
+9
-1
No files found.
libiberty/ChangeLog
View file @
b1bc0f50
2019-07-12 Ren Kimura <rkx1209dev@gmail.com>
* simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx.
This fixes a Bug 90924.
2019-07-22 Martin Liska <mliska@suse.cz>
* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
...
...
libiberty/simple-object-elf.c
View file @
b1bc0f50
...
...
@@ -548,7 +548,15 @@ simple_object_elf_match (unsigned char header[SIMPLE_OBJECT_MATCH_HEADER_LEN],
XDELETE
(
eor
);
return
NULL
;
}
if
(
eor
->
shstrndx
==
0
)
{
*
errmsg
=
"invalid ELF shstrndx == 0"
;
*
err
=
0
;
XDELETE
(
eor
);
return
NULL
;
}
return
(
void
*
)
eor
;
}
...
...
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