diff options
author | Willy Tarreau <w@1wt.eu> | 2017-05-16 19:18:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-16 23:05:20 +0200 |
commit | 3e21f4af170bebf47c187c1ff8bf155583c9f3b1 (patch) | |
tree | 276f65a380b1f288c65b17a7a11819fcd971e493 /Documentation | |
parent | Linux 4.12-rc1 (diff) | |
download | linux-3e21f4af170bebf47c187c1ff8bf155583c9f3b1.tar.xz linux-3e21f4af170bebf47c187c1ff8bf155583c9f3b1.zip |
char: lp: fix possible integer overflow in lp_setup()
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 <roee.hay@hcl.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions