]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN/dsp_cmx.c: fix size checks
authorAdrian Bunk <bunk@kernel.org>
Tue, 14 Oct 2008 01:42:55 +0000 (18:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2008 01:42:55 +0000 (18:42 -0700)
commit1dba57defa4c06abd6a5173cbd6801daeffd9a83
tree8a30de4acba4f5d44a2291b409f84d139afc1a0f
parent1cc3b7ae967e1467509662abffa262e09061b90a
mISDN/dsp_cmx.c: fix size checks

The checks for ensuring that the array indices are inside the range
were flipped.

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/dsp_cmx.c