diff options
author | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-08-25 15:11:15 +0000 |
---|---|---|
committer | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-08-25 15:11:15 +0000 |
commit | c2c4192c1bc951512073c6108e63e2c6d08da639 (patch) | |
tree | 2c50ba27240e63266ec2369b4345bc103afc20e7 /src/processor | |
parent | Breakpad DWARF parser: Don't use auto_ptr<stack<uint64> > where stack<uint64>... (diff) | |
download | breakpad-c2c4192c1bc951512073c6108e63e2c6d08da639.tar.xz |
Breakpad DWARF Reader: Ignore padding at the end of the compilation unit.
After the final DIE in a compilation unit, there may be any number of
zero bytes present. This is meant to allow producers to align
compilation unit starting points when necessary.
This patch changes the dwarf2reader::CompilationUnit class to skip
those zero bytes, rather than interpreting them as 'end of children'
markers for DIEs that do not exist. Without this change, the padding
bytes will cause the reader to attempt to pop an offset from an empty
stack, and call EndDIE with a garbage offset.
a=jimblandy, r=mmentovai
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@667 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor')
0 files changed, 0 insertions, 0 deletions