diff options
| author | Muhammad Bilal <meatuni001@gmail.com> | 2026-10-07 18:47:06 +0500 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-14 16:08:07 +0300 |
| commit | acada379d5c4dd3a86d48fc69802e769eff29f7e (patch) | |
| tree | b03b5f59451ff24f96762358e0af409bcea60009 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a4f19c589b21e18567d3c0ac7b9294f81e29b1de (diff) | |
platform/x86: hp-bioscfg: allow clearing current_password
The ABI documents echo "" > current_password as the way to end a
session, but validate_password_input() rejects an empty string when
min_password_length is nonzero, so the password stays cached.
Skip the length check for an empty current_password so the write
clears it.
Compile tested only.
Fixes: 8646a3b5ee3a ("platform/x86: hp-bioscfg: passwdobj-attributes")
Cc: stable@vger.kernel.org
Signed-off-by: Muhammad Bilal <meatuni001@gmail.com>
Link: https://lore.kernel.org/all/20261007134711.473857-1-meatuni001@gmail.com/
Link: https://patch.msgid.link/20261007134711.473857-5-meatuni001@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
