diff options
author | 2014-04-05 17:23:41 -0300 | |
---|---|---|
committer | 2014-04-06 11:07:45 -0300 | |
commit | 82932d4cff46627bc1a693893326400aab5f8967 (patch) | |
tree | ddeacf20c462d2e998ac8f38fec7f430d446fc27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | [media] v4l2-common: fix warning when used on userpace (diff) | |
download | linux-dev-82932d4cff46627bc1a693893326400aab5f8967.tar.xz linux-dev-82932d4cff46627bc1a693893326400aab5f8967.zip |
[media] msi001: fix possible integer overflow
Coverity CID 1196502: Unintentional integer overflow
(OVERFLOW_BEFORE_WIDEN)
Potentially overflowing expression "(f_rf + f_if + f_if1) * lo_div"
with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit
arithmetic before being used in a context which expects an expression
of type "u64" (64 bits, unsigned). To avoid overflow, cast either
operand to "u64" before performing the multiplication.
Reported-by: <scan-admin@coverity.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions