[PATCH] fixup! commands: add stacksmash command for causing stack overflows
Thorsten Scherer
T.Scherer at eckelmann.de
Thu Sep 14 03:22:47 PDT 2023
Hi Ahmad,
sha just applied four of the five patches and stacksmash isn't in next
yet.
Refer,
Message-ID: <20230912093638.GZ637806 at pengutronix.de>
Best regards,
Thorsten
On Thu, Sep 14, 2023 at 11:14:38AM +0200, Ahmad Fatoum wrote:
> commands: stacksmash: fix whitespace in command description
>
> Command description mixed spaces and tabs. Fix it to have tabs only.
>
> Cc: Thorsten Scherer <T.Scherer at eckelmann.de>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> Thanks, Thorsten!
> ---
> commands/stacksmash.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/commands/stacksmash.c b/commands/stacksmash.c
> index 1e9be0d40e15..b812d945e215 100644
> --- a/commands/stacksmash.c
> +++ b/commands/stacksmash.c
> @@ -50,9 +50,9 @@ static int do_stacksmash(int argc, char *argv[])
> panic("Stack smashing of %s not caught\n", argv[1]);
> }
> BAREBOX_CMD_START(stacksmash)
> - .cmd = do_stacksmash,
> - BAREBOX_CMD_DESC("Run stack smashing tests")
> + .cmd = do_stacksmash,
> + BAREBOX_CMD_DESC("Run stack smashing tests")
> BAREBOX_CMD_OPTS("[frame | region]")
> - BAREBOX_CMD_GROUP(CMD_GRP_MISC)
> - BAREBOX_CMD_COMPLETE(empty_complete)
> + BAREBOX_CMD_GROUP(CMD_GRP_MISC)
> + BAREBOX_CMD_COMPLETE(empty_complete)
> BAREBOX_CMD_END
> --
> 2.39.2
>
More information about the barebox
mailing list