From: Marko Kohtala Date: Fri, 6 Jan 2006 08:19:43 +0000 (-0800) Subject: [PATCH] parport: buffer overflow fix X-Git-Tag: v2.6.16-rc1~936^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c660629059abbbd0eb56e12f9bb4494f01800bbc;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed