diff options
author | Christopher Ferris <cferris@google.com> | 2015-05-06 16:36:34 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-05-06 16:39:17 -0700 |
commit | 944f417ccb86441060ffb670b4bdc2975fda08fc (patch) | |
tree | 2b933b06b8d6b48dd0172577e75595590c5a8f27 /libutils/ProcessCallStack.cpp | |
parent | 8b32c30b92be6914da2dca23089473c4f37adfb9 (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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions