aboutsummaryrefslogtreecommitdiff
path: root/drivers/telephony
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-09 09:52:07 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-09 09:52:07 +0100
commit9e914f50ac8359a5e8ba920976ef72121cbb6044 (patch)
tree255d393fcff0b8a514358e29ef17786126580c1b /drivers/telephony
parent0ed0aa77231943572e7fba6914bb27f8e104e62d (diff)
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>
Diffstat (limited to 'drivers/telephony')
-rw-r--r--drivers/telephony/ixj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/telephony/ixj.h b/drivers/telephony/ixj.h
index fbea4541c23..8d69bcdc29c 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;