platform_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 libsparse: allow including from C++ 2014-04-18 14:22:22 -07:00
Android.mk Cleanup libsparse Android.mk 2014-12-12 04:19:27 +00:00
append2simg.c append2simg: write to temporary file 2014-04-25 15:19:18 -07:00
backed_block.c Fix a bunch of small system/core bugs. 2013-10-29 14:12:46 -07:00
backed_block.h libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
defs.h libsparse: deal with build warning messages 2014-02-28 08:08:01 -08:00
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 libsparse: rename symbols that conflict with libext4_utils 2012-07-09 22:09:37 -07:00
simg2img.c libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
simg2simg.c libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
simg_dump.py system/core: move libsparse into system/core 2012-07-09 22:09:36 -07:00
sparse.c fastboot/sparse: propagate error code 2015-03-01 11:54:02 +01:00
sparse_crc32.c system/core: move libsparse into system/core 2012-07-09 22:09:36 -07:00
sparse_crc32.h libsparse: cleanups 2012-07-09 22:09:37 -07:00
sparse_defs.h libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
sparse_err.c libsparse: add error reporting functions 2012-07-09 22:09:37 -07:00
sparse_file.h libsparse: add error reporting functions 2012-07-09 22:09:37 -07:00
sparse_format.h system/core: move libsparse into system/core 2012-07-09 22:09:36 -07:00
sparse_read.c libsparse: turn on -Werror 2014-05-07 16:56:22 -07:00