On (23/03/05 21:34), Namjae Jeon wrote: > Smatch static checker warning: > fs/ksmbd/smb2pdu.c:7759 smb2_ioctl() > warn: no lower bound on 'off' > > Fix unexpected result that could caused from negative off and bfz. > > Fixes: b5e5f9dfc915 ("ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA") > Reported-by: Dan Carpenter <error27@xxxxxxxxx> > Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>