summaryrefslogtreecommitdiffstats
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-05-06 16:36:34 -0700
committerChristopher Ferris <cferris@google.com>2015-05-06 19:08:52 -0700
commit8bd4a4ecdc48ead03ca4e90ad585324bcd63b9f0 (patch)
treeefcd32fdaab3d283b2148e9d8829e675a72aa358 /libutils/FileMap.cpp
parentaf67fb247540ef084a0b644e1d3bf225db4de6bd (diff)
downloadsystem_core-8bd4a4ecdc48ead03ca4e90ad585324bcd63b9f0.zip
system_core-8bd4a4ecdc48ead03ca4e90ad585324bcd63b9f0.tar.gz
system_core-8bd4a4ecdc48ead03ca4e90ad585324bcd63b9f0.tar.bz2
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)
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions