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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:26:40 +0000 (13:26 -0700)
commitab1dd9963137a1e122004d5378a581bf16ae9bc8
tree864ee83c83d206b4679d2988d52b7d6ece0e5b63
parent975a1ac9a9fe65d66ee1726c0db6dc58e53d232a
staging: vt6656: [BUG] out of bound array reference in RFbSetPower.

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>
drivers/staging/vt6656/rf.c