lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAH2r5mtswGSeNWb9GyGy0r6aaiQAF0x1q2uYmWONGVNq_Q0Udg@mail.gmail.com>
Date: Sat, 14 Sep 2024 01:01:19 -0500
From: Steve French <smfrench@...il.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Qianqiang Liu <qianqiang.liu@....com>, ematsumiya@...e.de, sfrench@...ba.org, 
	linux-cifs@...r.kernel.org, samba-technical@...ts.samba.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] smb: client: compress: fix an "illegal accesses" issue

added to cifs-2.6.git for-next (after correcting minor typo in Fixes:
tag spotted by checkpatch) and added RB

Will let Enzo address your other suggestions but they seemed reasonable.


On Fri, Sep 13, 2024 at 8:26 AM Dan Carpenter <dan.carpenter@...aro.org> wrote:
>
> On Fri, Sep 13, 2024 at 11:27:51AM +0800, Qianqiang Liu wrote:
> > Using uninitialized value "bkt" when calling "kfree"
> >
> > Fixes: 13b68d44990d9 ("smb: client: compress: LZ77 code improvements cleanup")
> > Signed-off-by: Qianqiang Liu <qianqiang.liu@....com>
>
> Thanks.
>
> Reviewed-by: Dan Carpenter <dan.carpenter@...aro.org>
>
> I was reviewing this static checker warning.  I also have an unpublished warning
> which complains about collect_sample().
>
> fs/smb/client/compress.c:207 collect_sample() warn: should we be adding 'len' of the min_t value?
>
> It's a bit weird to sample data from each page.  Could we add some comments at
> the top of the function explaining what the function does.
>
> /*
>  * This reads a 2k sample from the start of each page to see the data is already
>  * compressed or whether we can compress it further.
>  */
>
> regards,
> dan carpenter
>
>


-- 
Thanks,

Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ