commit | 60634ff32a0d8c0d7942c6e522a74a5051d4b6e9 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Thu Mar 23 02:49:43 2023 +0000 |
committer | Eric Biggers <ebiggers@google.com> | Thu Mar 23 02:49:53 2023 +0000 |
tree | 8b570aabff2e4522d36cca29e529e3e8c0c2f5b5 | |
parent | 8fff11068c100be627745967992fb88759dea9c1 [diff] |
ext2simg: fix error check of io_channel_read_blk64() Check the return value of io_channel_read_blk64() correctly, considering that it returns an errcode_t, which can be positive. Fixes: db6f320912cf ("AOSP: android: add the ext2simg tool") Change-Id: Iafc6c0169bc8ac79198f285da0246ff3b841ded8 Signed-off-by: Eric Biggers <ebiggers@google.com>