[PATCH] fs/erofs: fix an integer overflow in symlink resolution
    Jonathan Bar Or 
    jonathanbaror at gmail.com
       
    Wed Feb 12 16:46:16 CET 2025
    
    
  
Got it, looks good.
Jonathan
On Wed, Feb 12, 2025, 7:33 AM Gao Xiang <hsiangkao at linux.alibaba.com> wrote:
>
>
> On 2025/2/12 22:17, Jonathan Bar Or wrote:
> > This is good, but may I suggest using __builtin_add_overflow instead?
>
> They are just the same.
>
> erofs-utils follows the kernel style, mostly the kernel doesn't
> directly use __builtin_add_overflow, instead it has a wrapper
> check_add_overflow().
>
> I could use __builtin_add_overflow for u-boot only.
>
> Thanks,
> Gao Xiang
>
> >
> > Jonathan
> >
>
    
    
More information about the U-Boot
mailing list