Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#11594 closed Patch - Bug Fix (fixed)
Patch to address potential integer overflow in dtvchannel.cpp - fixes coverity 700586
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Support higher tuning frequencies :-)
Static analysis (coverity) detected that some of the math computing frequencies was performed in 32 bit arithmetic, even though the result was 64 bits. This could result in an integer overflow. Use the Qt long long type to move to 64 bit calculations.
Fixes coverity 700586
github direct link: https://github.com/garybuhrmaster/mythtv/commit/788496de9cafe49db76ea67ce4f17d6e7f5f03e7
(or, if you prefer the other format)
github git-am formatted link: https://github.com/garybuhrmaster/mythtv/commit/788496de9cafe49db76ea67ce4f17d6e7f5f03e7.patch
In d395df6ad8c4f6580fb0c3047022b61860942455/mythtv: