]> err.no Git - linux-2.6/commit
[ISDN]: Static overruns in drivers/isdn/i4l/isdn_ppp.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 12 Apr 2006 00:29:17 +0000 (17:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2006 00:29:17 +0000 (17:29 -0700)
commit052bb88e180d010f7da7186e6f21eea3be82a903
tree0f82c9cb4719f4d5874841bba9f08559cc4f2fe4
parent8db60bcf3021921e2d10d158641792d640e52fe8
[ISDN]: Static overruns in drivers/isdn/i4l/isdn_ppp.c

Coverity found some static overruns in isdn_ppp.c (bug id #519) At several
places slot is compared <0 and > ISDN_MAX_CHANNELS and then used to index
ippp_table[ISDN_MAX_CHANNELS] A value of slot = ISDN_MAX_CHANNELS would run
over the end of the array.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_ppp.c