OSDN Git Service

Fix byte and char Get32
authorMathieu Chartier <mathieuc@google.com>
Fri, 6 Mar 2015 19:33:36 +0000 (11:33 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 6 Mar 2015 19:44:12 +0000 (11:44 -0800)
commit2ff8da6a4d44bcf6a72dca1b5294a72297c5ce26
tree19af7b0cd2eaae0dbc1902d95b7c365847a5335d
parent0d1f5730e765eef40ff08e16059f8c2c73dc86ff
Fix byte and char Get32

8 bit and 16 bit fields aren't necessarily 32 bit aligned due to
field packing. This was causing SIGBUS for hprof dumping some apps.

Bug: 19627999
Change-Id: Ifd68b281b2a23b9ed3c6f8780c99870643366c7e
runtime/hprof/hprof.cc