Re: [PATCH 0/3] mount.cifs: minor buflen tracking cleanups

Steve French
2026-04-01T02:14:12Z

Added the RB and merged into git.samba.org/data/git/cifs-utils.git and
https://github.com/smfrench/smb3-utils for-next

On Tue, Mar 31, 2026 at 1:06 PM Henrique Carvalho
<henrique.carvalho@suse.com> wrote:
>
> Reviewed-by: Henrique Carvalho <henrique.carvalho@suse.com>
>
> On Tue, Mar 31, 2026 at 11:37:50AM +1100, David Disseldorp wrote:
> > These changes are minor cleanups to go atop the bugfix
> > "mount.cifs: fix buffer overrun in set_password"
> > https://lore.kernel.org/linux-cifs/20260331000911.16062-1-ddiss@suse.de/T/#u
> >
> > David Disseldorp (3):
> > build_assert: add ccan build_assert.h header
> > mount.cifs: adjust get_password_from_file() buf size
> > mount.cifs: remove runtime pass_length calculation
> >
> > build_assert.h | 40 ++++++++++++++++++++++++++++++++++++++++
> > mount.cifs.c | 18 ++++++++----------
> > 2 files changed, 48 insertions(+), 10 deletions(-)
> > create mode 100644 build_assert.h
> >
> >

--
Thanks,

Steve