forked from roolebo/elfutils
-
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.
libdwfl: Sanity check partial core file data reads.
There were two issues when reading note data from a core file. We didn't check if the data we already had in a buffer was big enough. And if we did get the data, we should check if we got everything, or just a part of the data. https://sourceware.org/bugzilla/show_bug.cgi?id=23752 Signed-off-by: Mark Wielaard <[email protected]>
- Loading branch information
Mark Wielaard
committed
Oct 19, 2018
1 parent
2f4a040
commit 20f9de9
Showing
2 changed files
with
18 additions
and
2 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,10 @@ | ||
2018-10-14 Mark Wielaard <[email protected]> | ||
|
||
* dwfl_segment_report_module.c (read_portion): Check requested | ||
filesz isn't larger than buffer_available. | ||
(dwfl_segment_report_module): Check data_size vs filesz after | ||
read_portion call. | ||
|
||
2018-10-02 Andreas Schwab <[email protected]> | ||
|
||
* relocate.c (relocate): Handle ADD/SUB relocations. | ||
|
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