]> git.ipfire.org Git - thirdparty/samba.git/commit
cmdline:burn: handle arguments separated from their --options
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 27 Jun 2024 03:40:16 +0000 (15:40 +1200)
committerJule Anger <janger@samba.org>
Tue, 23 Jul 2024 07:32:13 +0000 (07:32 +0000)
commitd87b5a9723f25daa98cba6277be57fa71456057e
treecc1d9efb9d30f11e4626d120930c111e99f4e7b1
parent22a6e45541cf489b07bb81560d3fb700bf68673a
cmdline:burn: handle arguments separated from their --options

We weren't treating "--password secret" the same as "--password=secret",
which sometimes led to secrets not being redacted.

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 53a1184525279741e116350a9b53da15cb2f41d0)
lib/cmdline/cmdline.c
selftest/knownfail.d/cmdline [deleted file]