]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: vt6656: [BUG] out of bound array reference in RFbSetPower.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 7 Oct 2012 07:27:00 +0000 (08:27 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:56 +0000 (03:33 +0000)
commitee2ba76aa9424cba511b388b15c141c0f08e9650
treee07ca76b2e241148c8fa3c1ed4ddc0f81dfd88ca
parent926304cc14587e7823af6bb910fbecbda5927325
staging: vt6656: [BUG] out of bound array reference in RFbSetPower.

commit ab1dd9963137a1e122004d5378a581bf16ae9bc8 upstream.

Calling RFbSetPower with uCH zero value will cause out of bound array reference.

This causes 64 bit kernels to oops on boot.

Note: Driver does not function on 64 bit kernels and should be
blacklisted on them.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/vt6656/rf.c