[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOo-nLLSsKd3BFEN=2spk2QZJ-_aCkBzU2kjShxibXqKGx+7Qw@mail.gmail.com>
Date: Mon, 27 Dec 2021 20:50:04 +0800
From: Hangyu Hua <hbh25y@...il.com>
To: Andreas Schwab <schwab@...ux-m68k.org>
Cc: geert@...ux-m68k.org, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] m68k/kernel: array out of bound access in process_uboot_commandline
You are right. I will resubmit the patch later.
Thanks.
Andreas Schwab <schwab@...ux-m68k.org> 于2021年12月27日周一 19:56写道:
>
> On Dez 27 2021, Hangyu Hua wrote:
>
> > If we don't use
> > commandp[0]=0 in len == 0,
> > than commandp will not have a zero-terminated.
>
> That doesn't make sense. There is no room for the zero.
>
> --
> Andreas Schwab, schwab@...ux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
> "And now for something completely different."
Powered by blists - more mailing lists