]> git.ipfire.org Git - thirdparty/samba.git/commit
cmdline:burn: use allowlist to ensure more passwords burn
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 29 Jun 2024 01:44:46 +0000 (13:44 +1200)
committerJule Anger <janger@samba.org>
Tue, 23 Jul 2024 07:32:13 +0000 (07:32 +0000)
commit0c7a0ff715d105f9746e7e92e5f00cac41a8f23e
tree876a711ce290c6f3dc959801a298ea9b79dd0fff
parentae462aa71afd5322e22c147a7d8a56a9ef48e286
cmdline:burn: use allowlist to ensure more passwords burn

We treat any option containing 'pass' with suspicion, unless we know it
is OK.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15674

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
(cherry picked from commit f1fbba6dc609590854c0d7c5e72b58fabc356695)
lib/cmdline/cmdline.c