Whamcloud - gitweb
AOSP: libext2fs: Track the libsparse API change.
authorTao Bao <tbao@google.com>
Mon, 23 Apr 2018 21:10:59 +0000 (14:10 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 21 Jun 2018 13:59:38 +0000 (09:59 -0400)
commit7c40d7bc9e89329535fcb566ccd708531d8ea41b
treefbce47aae6e1c4befda4d79e13ae5a7204f81cf9
parent91327df4575d1ee4eb57e586943a10b20a41cec8
AOSP: libext2fs: Track the libsparse API change.

libsparse is updating the 'len' parameter, from 'int' to 'size_t', in
the callback parameter of sparse_file_foreach_chunk(). The value
represents the chunk size, which could be legitimately larger than
INT_MAX.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Google-Bug-Id: 78432315
Test: `m dist` with aosp_marlin-userdebug
Change-Id: I35f8a528aff461ce4d3b492a7ca2d4a23592be54
From AOSP commit: 019bed178935585d28cf702a8090a5598415312b
lib/ext2fs/sparse_io.c