[PATCH] erofs: fix potential return value overflow of z_erofs_shrink_scan()

Gao Xiang hsiangkao at linux.alibaba.com
Thu Jan 16 19:33:25 AEDT 2025



On 2025/1/16 16:31, Chao Yu wrote:
> On 1/14/25 12:00, Gao Xiang wrote:
>> z_erofs_shrink_scan() could return small numbers due to the mistyped
>> `freed`.
>>
>> Although I don't think it has any visible impact.
> 
> Agreed, it's an extreme case...

Yeah... also thanks for the review.

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list