* [media] dvb: Buffer Overfolow in cx24110_set_fec
@ 2012-03-04 13:41 santosh prasad nayak
0 siblings, 0 replies; only message in thread
From: santosh prasad nayak @ 2012-03-04 13:41 UTC (permalink / raw)
To: mchehab; +Cc: lucas.demarchi, linux-media, linux-kernel, kernel-janitors
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, // index 8
FEC_8_9,
FEC_AUTO,
.....
....
} fe_code_rate_t;
For "FEC_6_7 < fec < FEC_AUTO" , rate[fec]. g1[fec], g2[fec]
values are not defined initially.
Is it expected or bug ?
regards
Santosh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-04 13:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-04 13:41 [media] dvb: Buffer Overfolow in cx24110_set_fec santosh prasad nayak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).