forked from gbenson/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix seg-fault in readelf when decoding corrupt IA64 unwind information.
PR binutils/18420 * ia64-unwind.c (unw_decode): Add end parameter. Pass parameter on to decode functions. (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK. (UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does not take us beyond the end of the buffer. * ia64-unwind.h (unw_decode): Update prototype. * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
- Loading branch information
1 parent
35d7c43
commit b4477bc
Showing
4 changed files
with
52 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
2015-05-18 Nick Clifton <[email protected]> | ||
|
||
PR binutils/18420 | ||
* ia64-unwind.c (unw_decode): Add end parameter. Pass parameter | ||
on to decode functions. | ||
(unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK. | ||
(UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does | ||
not take us beyond the end of the buffer. | ||
* ia64-unwind.h (unw_decode): Update prototype. | ||
* readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode. | ||
|
||
2015-05-15 H.J. Lu <[email protected]> | ||
|
||
* readelf.c (dump_section_as_strings): Change pointers from | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters