commit | 819a100846295461bc0f1bfcb8e5ab11c1bc4cdb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Mar 26 21:20:48 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 27 22:42:32 2012 -0400 |
tree | 60a01beefe73812d91e6459bcfa0cccd54ea2e59 | |
parent | c54e9bd38a06babf94fd45e5f1df9a1109e12818 [diff] |
mISDN: array underflow in open_bchannel() There are two channels here. User space starts counting channels at one but in the kernel we start at zero. If the user passes in a zero channel that's invalid and could lead to memory corruption. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>