On Tue, Sep 03, 2019 at 07:46:19AM +0800, Qu Wenruo wrote: > In check_extent_data_item(), we read file extent type without verifying > if the item size is valid. > > Add such check to ensure the file extent type we read is correct. > > The check is not as accurate as we need to cover both inline and regular > extents, so it only checks if the item size is larger or equal to inline > header. > So the existing size checks on inline/regular extents are still needed. > > Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> I lost track of this patch, now added to for-next. Thanks.
