summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorChris Fries <cfries@google.com>2017-04-18 11:39:24 -0500
committerChris Fries <cfries@google.com>2017-04-19 10:32:45 -0500
commit3738968ed8587bb742ce8aed3ec61b3c9663b9d8 (patch)
treee0a5b0c900158a34e7e6092e5ff7b0d60eb728cd /libcutils/socket_local_server_unix.cpp
parent8b318d0c26c89acd7c716fb571bfd08d4393d12f (diff)
libsparse: Fix odd-sized input files total_blks
If the input file isn't a multiple of block_size, count the trailing bit as a block in the output, otherwise bootloader will try to write past the last declared block in the sparse file. Test: Run sparse_test Bug: 37339998 Change-Id: Iec143107d15795c6a6f4d3ea7b7515f6f16adcae
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions