egalax_ts_serial: Fix potential buffer overflow
PATCH 1/1 egalax_ts_serial: Fix potential buffer overflow
Update my old (defunct) email addresses in passing.
Reported-by kernel test robot <[email protected]>
Signed-off-by Zoltán Böszörményi <[email protected]>
--- CREDITS | 3 ++- drivers/input/touchscreen/egalax_ts_serial.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-)
CREDITS +2 -1
@@ -470,8 +470,9 @@ S: Montreal, Quebec S: Canada N: Zoltán Böszörményi -E: [email protected] +E: [email protected] D: MTRR emulation with Cyrix style ARR registers, Athlon MTRR support +D: eGalax serial touchscreen support N: John Boyd E: [email protected]
drivers/input/touchscreen/egalax_ts_serial.c +3 -3
@@ -2,7 +2,7 @@/* * EETI Egalax serial touchscreen driver * -* Copyright (c) 2015 Zoltán Böszörményi <[email protected]> +* Copyright (c) 2015 Zoltán Böszörményi <[email protected]> * * based on the *
@@ -42,7 +42,7 @@ struct egalax {struct serio *serio;int idx;u8 data[EGALAX_FORMAT_MAX_LENGTH ]; -char phys[32 ]; +char phys[NAME_MAX ]; };static void egalax_process_data (struct egalax *egalax)
@@ -185,6 +185,6 @@ static struct serio_driver egalax_drv = { };module_serio_driver (egalax_drv); -MODULE_AUTHOR ("Zoltán Böszörményi <[email protected]>" ); +MODULE_AUTHOR ("Zoltán Böszörményi <[email protected]>" );MODULE_DESCRIPTION (DRIVER_DESC );MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.42.0