Re: [PATCH] dio: Fix buffer overflow in case of unknown board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 08 2019, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

@@ -90,7 +90,7 @@ static struct dioname names[] =
 #undef DIOFBNAME
 
 static const char *unknowndioname 
-        = "unknown DIO board -- please email <linux-m68k@xxxxxxxxxxxxxxxxxxxx>!";
+	= "unknown DIO board, please email linux-m68k@xxxxxxxxxxxxxxxxxxxx";

This could be declared as an array.

Andreas.

-- 
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux