diff options
| author | Jeremy Compostella <jeremy.compostella@intel.com> | 2015-02-22 10:47:16 +0100 |
|---|---|---|
| committer | Jeremy Compostella <jeremy.compostella@intel.com> | 2015-03-01 11:54:02 +0100 |
| commit | 9f0d6bdd6691cbe78a3c03e531cb69ec2cc63602 (patch) | |
| tree | c58308d6e62627730a875067b7e343c28a409d99 /base/errors_unix.cpp | |
| parent | be9712156bdcf8cff774a78a3afdb0c562998c73 (diff) | |
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 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
