* [2.6 patch] drivers/telephony/ixj: fix an array overrun
@ 2006-11-06 9:37 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-11-06 9:37 UTC (permalink / raw)
To: linux-kernel
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>
--- linux-2.6/drivers/telephony/ixj.h.old 2006-11-06 10:34:56.000000000 +0100
+++ linux-2.6/drivers/telephony/ixj.h 2006-11-06 10:35:10.000000000 +0100
@@ -1295,7 +1295,7 @@
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-06 9:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 9:37 [2.6 patch] drivers/telephony/ixj: fix an array overrun Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox