diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-09-29 23:26:53 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2016-10-01 03:14:07 +0000 |
commit | 468dd6988e12911301d43f95b2d8e3fb3385d6a1 (patch) | |
tree | 2f6e247edf5cd0d4679aed3ecd3e5d069e34276b | |
parent | b94fa83a4cc82d3a5203e3e117b1dc2453fca726 (diff) | |
download | chrome-ec-468dd6988e12911301d43f95b2d8e3fb3385d6a1.tar.gz |
Cr50: The panicinfo command is not safe
It's possible the register values could be sensitive.
BUG=chrome-os-partner:57408
BRANCH=none
TEST=make buildall; try on Gru with and without CR50_DEV=1
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: Id3d4df3aaca116a638332f092d4727accd0cbbcd
Reviewed-on: https://chromium-review.googlesource.com/391612
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r-- | common/panic_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/panic_output.c b/common/panic_output.c index 269f08db6c..c9d59f2061 100644 --- a/common/panic_output.c +++ b/common/panic_output.c @@ -219,9 +219,9 @@ static int command_panicinfo(int argc, char **argv) } return EC_SUCCESS; } -DECLARE_SAFE_CONSOLE_COMMAND(panicinfo, command_panicinfo, - NULL, - "Print info from a previous panic"); +DECLARE_CONSOLE_COMMAND(panicinfo, command_panicinfo, + NULL, + "Print info from a previous panic"); /*****************************************************************************/ /* Host commands */ |