diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-11-09 09:52:07 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-11-09 09:52:07 +0100 |
commit | 9e914f50ac8359a5e8ba920976ef72121cbb6044 (patch) | |
tree | 255d393fcff0b8a514358e29ef17786126580c1b | |
parent | 0ed0aa77231943572e7fba6914bb27f8e104e62d (diff) | |
download | lwn-9e914f50ac8359a5e8ba920976ef72121cbb6044.tar.gz lwn-9e914f50ac8359a5e8ba920976ef72121cbb6044.zip |
drivers/telephony/ixj: fix an array overrun
The Coverity checker noted that in
drivers/telephony/ixj.c:ixj_build_filter_cadence(), filter_en[4] or
filter_en[5] could be written to.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | drivers/telephony/ixj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/telephony/ixj.h b/drivers/telephony/ixj.h index fbea4541c234..8d69bcdc29c9 100644 --- a/drivers/telephony/ixj.h +++ b/drivers/telephony/ixj.h @@ -1295,7 +1295,7 @@ typedef struct { Proc_Info_Type Info_write; unsigned short frame_count; unsigned int filter_hist[4]; - unsigned char filter_en[4]; + unsigned char filter_en[6]; unsigned short proc_load; unsigned long framesread; unsigned long frameswritten; |