Re: [PATCH] erofs: guard on-disk algorithm IDs against Z_EROFS_COMPRESSION_MAX
Chao Yu <[email protected]>
| Newsgroups | org.ozlabs.lists.linux-erofs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/14/26 16:14, Gao Xiang wrote:
> All on-disk algorithm IDs should be validated against
> supported Z_EROFS_COMPRESSION_MAX.
>
> This includes a partial revert of a previous commit and also adds
> validation for encoded extents.
>
> Fixes: 131897c65e2b ("erofs: fix invalid algorithm for encoded extents")
> Signed-off-by: Gao Xiang <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Thanks,