Re: [media] dvb: Buffer Overfolow in cx24110_set_fec

2012-03-05 Thread santosh prasad nayak
Can anyone comment on it ? Is  FEC_AUTO should be moved up as shown below ? typedef enum fe_code_rate {                FEC_6_7, ,// Should FEC_AUTO, be placed here ?        FEC_7_8,        FEC_8_9,         , // At present FEC_AUTO is here  

[media] dvb: Buffer Overfolow in cx24110_set_fec

2012-03-04 Thread santosh prasad nayak
Hi, I am getting following error: drivers/media/dvb/frontends/cx24110.c:210 cx24110_set_fec() error: buffer overflow 'rate' 7 = 8 In cx24110_set_fec, arrays rate[] , g1[], g2[] have only 7 values. typedef enum fe_code_rate { FEC_6_7, // index 7 FEC_7_8,