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>
Thu, 17 Jan 2013 16:50:51 +0000 (08:50 -0800)
commit97e3cb7f7a27f4902fe75880149517713570da0e
treeee760bb4ebcc9399e7854098ccc058c3889c8e75
parent61652b1acea31009aff707b975a171567095df81
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>
drivers/staging/vt6656/rf.c