mount.cifs: fix verbose messages on option parsing
authorJeffrey Bencteux <jbe@improsec.com>
Sat, 19 Mar 2022 17:41:15 +0000 (13:41 -0400)
committerPavel Shilovsky <piastryyy@gmail.com>
Wed, 27 Apr 2022 00:07:40 +0000 (17:07 -0700)
commit8acc963a2e7e9d63fe1f2e7f73f5a03f83d9c379
treed94398bc361f520bb78d637377cef5d6d70323c1
parent007c07fd91b6d42f8bd45187cf78ebb06801139d
mount.cifs: fix verbose messages on option parsing

When verbose logging is enabled, invalid credentials file lines may be
dumped to stderr. This may lead to information disclosure in particular
conditions when the credentials file given is sensitive and contains '='
signs.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15026

Signed-off-by: Jeffrey Bencteux <jbe@improsec.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
mount.cifs.c