aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-01-29 19:32:01 -0500
committerMauro Carvalho Chehab <[email protected]>2018-02-23 03:03:32 -0500
commit36e49ffb978ef7284ae235b915a7bd6713aa20de (patch)
treef3d2abd743f5a868dbb3336d58c914e8fe15eaa3 /tools/perf/scripts/python/export-to-sqlite.py
parentb1f5d0ae930d92bfddb74e99324542456083141a (diff)
media: i2c: ov9650: fix potential integer overflow in __ov965x_set_frame_interval
Cast fi->interval.numerator to u64 in order to avoid a potential integer overflow. This variable is being used in a context that expects an expression of type u64. Addresses-Coverity-ID: 1324146 ("Unintentional integer overflow") [Sakari Ailus: use do_div() to make this work on 32-bit systems] Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions