commit | 7a20e406eda75c61b2205e418d0e5e2a366910d8 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Wed May 06 16:36:34 2015 -0700 |
committer | Christopher Ferris <cferris@google.com> | Wed May 06 16:39:17 2015 -0700 |
tree | 3c8e0fb9bcda2b533b451a06ea90f2713b4c8422 | |
parent | cbc7ccf85faea770fc25045f9d5704621b7b1fc2 [diff] |
Fix small ptrace reads. The BacktracePtrace::Read function crashes if the number of bytes to read is less than the number of bytes needed to align the read to a word_t boundary. Fix this and add a test for this case. Change-Id: I50808849ece44928f65dba1d25309e3885c829a2