Re: [PATCH] fs: remove accidental overflow during wraparound check
From: Al Viro
Date: Tue May 07 2024 - 20:12:39 EST
On Tue, May 07, 2024 at 11:17:57PM +0000, Justin Stitt wrote:
> I wonder, though, why isn't loff_t an unsigned type?
Consider
lseek(fd, -10, SEEK_CUR)
PS: the above is *not* an endorsement of the proposed patch or
KASAN overflow nonsense in general.