From: Willy Tarreau Date: Tue, 16 May 2017 17:18:55 +0000 (+0200) Subject: char: lp: fix possible integer overflow in lp_setup() X-Git-Tag: v3.2.91~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=550845d02afb926d50d1487f9e2b954270c83963;p=pandora-kernel.git char: lp: fix possible integer overflow in lp_setup() commit 3e21f4af170bebf47c187c1ff8bf155583c9f3b1 upstream. The lp_setup() code doesn't apply any bounds checking when passing "lp=none", and only in this case, resulting in an overflow of the parport_nr[] array. All versions in Git history are affected. Reported-By: Roee Hay Cc: Ben Hutchings Signed-off-by: Willy Tarreau Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed