summaryrefslogtreecommitdiffstats
path: root/mkbootimg
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2015-02-22 10:47:16 +0100
committerJeremy Compostella <jeremy.compostella@intel.com>2015-03-01 11:54:02 +0100
commit9f0d6bdd6691cbe78a3c03e531cb69ec2cc63602 (patch)
treec58308d6e62627730a875067b7e343c28a409d99 /mkbootimg
parentbe9712156bdcf8cff774a78a3afdb0c562998c73 (diff)
downloadsystem_core-9f0d6bdd6691cbe78a3c03e531cb69ec2cc63602.zip
system_core-9f0d6bdd6691cbe78a3c03e531cb69ec2cc63602.tar.gz
system_core-9f0d6bdd6691cbe78a3c03e531cb69ec2cc63602.tar.bz2
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>
Diffstat (limited to 'mkbootimg')
0 files changed, 0 insertions, 0 deletions