diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-01 16:11:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-04 19:32:13 +0200 |
commit | f1b0c8217fd9507531152c0d6c12253e2e4e22bd (patch) | |
tree | 70ce11d01d3ba1938a67aef39c24fc8e27fc4ba5 /block/scsi_ioctl.c | |
parent | [media] [REGRESSION] bt8xx: Fix too large height in cropcap (diff) | |
download | linux-f1b0c8217fd9507531152c0d6c12253e2e4e22bd.tar.xz linux-f1b0c8217fd9507531152c0d6c12253e2e4e22bd.zip |
[media] mb86a20s: Fix estimate_rate setting
As reported by Dan Carpenter <dan.carpenter@oracle.com>:
Smatch warnings:
drivers/media/dvb-frontends/mb86a20s.c:644 mb86a20s_layer_bitrate() error: buffer overflow 'state->estimated_rate' 3 <= 3
What happens there is that estimate_rate index should be the layer
number, and not the guard interval.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions