platform_system_core/libsparse
Chris Fries 3738968ed8 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
2017-04-19 10:32:45 -05:00
..
include/sparse libsparse: add a function to retrieve the data blocks 2016-11-30 19:16:28 -08:00
Android.bp libsparse: Fix verbose_error string usage 2017-04-18 10:53:49 -05:00
Android.mk Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
append2simg.c Turn off CRC checking for append2simg 2015-12-17 17:28:44 -08:00
backed_block.c libsparse: use strcmp and validate last_used pointer 2015-08-21 14:23:31 +00:00
backed_block.h
defs.h
img2simg.c libsparse: turn on -Werror 2014-05-07 16:56:22 -07:00
output_file.c libsparse: Fix odd-sized input files total_blks 2017-04-19 10:32:45 -05:00
output_file.h libsparse: Fix verbose_error string usage 2017-04-18 10:53:49 -05:00
simg2img.c Fix parameter to lseek 2015-10-20 14:15:31 -07:00
simg2simg.c
simg_dump.py libsparse: fix crc chunk parsing in simg_dump.py 2015-04-30 16:36:17 +00:00
sparse.c libsparse: add a function to retrieve the data blocks 2016-11-30 19:16:28 -08:00
sparse_crc32.c
sparse_crc32.h libsparse: Wrap sparse_crc32.h to be C++ compatible. 2015-07-11 12:48:42 -07:00
sparse_defs.h
sparse_err.c
sparse_file.h libsparse: Fix verbose_error string usage 2017-04-18 10:53:49 -05:00
sparse_format.h libsparse: Fix verbose_error string usage 2017-04-18 10:53:49 -05:00
sparse_read.cpp libsparse: Fix verbose_error string usage 2017-04-18 10:53:49 -05:00