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

David Disseldorp
2026-03-31T01:25:33Z

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