android_system_core/libsparse
Jeremy Compostella 9f0d6bdd66 fastboot/sparse: propagate error code
sparse_file_write_block calls functions that might failed.  This patch
makes sparse_file_write_block catch the error code and propagate it.

Without this patch, fastboot crashes on a segmentation fault if
usb_write() fail during a sparse file image flashing.

Change-Id: If9c0e8dfac8fa380628a2504e13abe8cf7d62726
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
2015-03-01 11:54:02 +01:00
..
include/sparse
Android.mk Cleanup libsparse Android.mk 2014-12-12 04:19:27 +00:00
append2simg.c
backed_block.c
backed_block.h
defs.h
img2simg.c libsparse: turn on -Werror 2014-05-07 16:56:22 -07:00
output_file.c libsparse: turn on -Werror 2014-05-07 16:56:22 -07:00
output_file.h
simg2img.c
simg2simg.c
simg_dump.py
sparse.c fastboot/sparse: propagate error code 2015-03-01 11:54:02 +01:00
sparse_crc32.c
sparse_crc32.h
sparse_defs.h
sparse_err.c
sparse_file.h
sparse_format.h
sparse_read.c libsparse: turn on -Werror 2014-05-07 16:56:22 -07:00