commit | e8d02c50d76e278f91455bd90e1db2ae79eac035 | [log] [tgz] |
---|---|---|
author | Hyeongseok Kim <hyeongseok@gmail.com> | Mon Aug 10 12:11:57 2020 +0900 |
committer | Hyeongseok Kim <hyeongseok@gmail.com> | Tue Aug 11 08:34:28 2020 +0900 |
tree | e768a72f0edf6caf3055cd9d7fcb1ef4c032cf1e | |
parent | 52c8422ea19b5719f8128b85fb01d985bd415c46 [diff] |
libsparse: Fix overflow of merged sparse chunk length Merging sparse chunk can make sparse map block bigger than 4GiB, that can't be covered by unsigned integer type. Fix this by changing unsigned int to uint64_t type. Test: sparse build Bug: 162808120 Change-Id: Id4d3f88f9d531c25c3937c99b2c81efb915605ee Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com> Cc: hyeongseok.kim <hyeongseok.kim@lge.com>