gigaset: correct range checking off by one error
authorTilman Schmidt <tilman@imap.cc>
Tue, 16 Mar 2010 07:04:01 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2010 21:15:41 +0000 (14:15 -0700)
commit6ad34145cf809384359fe513481d6e16638a57a3
tree33e57286febf0bfbbc8c276f2858de9327b8516f
parent7f7708f0055e49e331f267700aa8b2ee879f004c
gigaset: correct range checking off by one error

Correct a potential array overrun due to an off by one error in the
range check on the CAPI CONNECT_REQ CIPValue parameter.
Found and reported by Dan Carpenter using smatch.

Impact: bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/capi.c