android_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
Android.bp libsparse: Fix verbose_error string usage 2017-04-18 10:53:49 -05:00
Android.mk
append2simg.c
backed_block.c
backed_block.h
defs.h
img2simg.c
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
simg2simg.c
simg_dump.py
sparse.c
sparse_crc32.c
sparse_crc32.h
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