Re: [bug report] ksmbd: fix heap-based overflow in set_ntacl_dacl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 05, 2022 at 08:03:04AM +0900, Namjae Jeon wrote:
> 2022-08-04 23:33 GMT+09:00, Dan Carpenter <dan.carpenter@xxxxxxxxxx>:
> > Hello Namjae Jeon,
> Hi Dan,
> >
> > The patch 982979772f2b: "ksmbd: fix heap-based overflow in
> > set_ntacl_dacl()" from Jul 28, 2022, leads to the following Smatch
> > static checker warning:
> >
> > 	fs/ksmbd/smb2pdu.c:5182 smb2_get_info_sec()
> > 	error: uninitialized symbol 'secdesclen'.
> This was fixed on v4 patch :
>   https://marc.info/?l=linux-cifs&m=165939383203779&w=2 
> 
> Thanks for your report!

Oops.  Sorry, I didn't realize it was part of the kbuild warning...  The
kbuild warning didn't include that code so this was the first time I
was seeing the code myself.

regards,
dan carpenter




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux