commit | 178ec7ff3d6e3d9ee1d9ef71e232b9b9663bb0d2 | [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 19:08:52 2015 -0700 |
tree | efcd32fdaab3d283b2148e9d8829e675a72aa358 | |
parent | fe0983a8e071d8eef09b0fedbbb25254807fc34e [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 (cherry picked from commit 944f417ccb86441060ffb670b4bdc2975fda08fc)