android_kernel_xiaomi_sm8350/drivers/parport
Marko Kohtala c660629059 [PATCH] parport: buffer overflow fix
Fix potential buffer overflow in case the device ID did not end in semicolon.
Also might fail to negotiate back to IEEE1284_MODE_COMPAT in case of failure.
parport_device_id did not return what Documentation/parport-lowlevel.txt said,
so I changed it to match it.

Determining device ID length is overly complicated, but Tim Waugh recalled on
linux-parport seeing some buggy device that might need it.

Signed-off-by: Marko Kohtala <marko.kohtala@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:56 -08:00
..
BUGS-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ChangeLog Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
daisy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee1284_ops.c [PATCH] parport: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
ieee1284.c [PATCH] parport: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
Kconfig [PATCH] Kconfig fix (parport_pc on m32r) 2005-08-23 18:43:41 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
multiface.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_amiga.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_arc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_atari.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_cs.c [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
parport_gsc.c [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
parport_gsc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_mfc3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_pc.c [PATCH] parport: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
parport_serial.c [SERIAL] Convert parport_serial to use new 8250_pci interfaces 2005-07-27 11:41:18 +01:00
parport_sunbpp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
probe.c [PATCH] parport: buffer overflow fix 2006-01-06 08:33:56 -08:00
procfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
share.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
TODO-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00