diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-10-28 16:07:03 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 16:34:12 +0300 |
| commit | a132fef816606ebe9d20895b1535582bfede12a4 (patch) | |
| tree | 3a15c4eaff7b0031a9f8d48e39cfd1ff428c25ea /include/uapi/linux | |
| parent | 15c546e1c896058ebffc437e609000b3bf394451 (diff) | |
| download | linux-a132fef816606ebe9d20895b1535582bfede12a4.tar.xz | |
[media] lgdt3306a: don't go past the buffer
As warned by smatch:
drivers/media/dvb-frontends/lgdt3306a.c:1354 log10_x1000() error: buffer overflow 'valx_x10' 14 <= 14
drivers/media/dvb-frontends/lgdt3306a.c:1355 log10_x1000() error: buffer overflow 'log10x_x1000' 14 <= 14
There's a potential of returning a value out of the buffer. Fix it.
While here, remove the ugly braced block.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
