From 9e914f50ac8359a5e8ba920976ef72121cbb6044 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Thu, 9 Nov 2006 09:52:07 +0100 Subject: 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 --- drivers/telephony/ixj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/telephony') 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; -- cgit v1.2.3-18-g5258