Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [PATCH] dio: Fix buffer overflow in case of unknown board | Date | Tue, 08 Jan 2019 15:19:52 +0100 |
| |
On Jan 08 2019, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> @@ -90,7 +90,7 @@ static struct dioname names[] = > #undef DIOFBNAME > > static const char *unknowndioname > - = "unknown DIO board -- please email <linux-m68k@lists.linux-m68k.org>!"; > + = "unknown DIO board, please email linux-m68k@lists.linux-m68k.org";
This could be declared as an array.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
| |