Skip to content

Commit

Permalink
[PATCH] drivers/telephony/ixj: fix an array overrun
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Nov 9, 2006
1 parent 3318404 commit b196872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/telephony/ixj.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b196872

Please sign in to comment.