Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#11595 closed Patch - Bug Fix (fixed)
Patch to address potential integer overflow in freesurround.cpp - fixes coverity 700584
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - Audio Output | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Static analysis (coverity) detected that some of the math in the routine getLatency was performed in 32 bit arithmetic, even though the result was 64 bits. This could result in an integer overflow. Cast to 64 bits
Note that a quick check (perhaps wrong) showed that this method was never called, so this is probably an irrelevant identified defect.
Fixes coverity 700584
github direct link: https://github.com/garybuhrmaster/mythtv/commit/499584ef7e20f97c738427fffc2657a56f1617ab
or, if you prefer,
Patch in git-am format: https://github.com/garybuhrmaster/mythtv/commit/499584ef7e20f97c738427fffc2657a56f1617ab.patch
In a08ece53bc706ef1ab2afed712a5c71f1f093f64/mythtv: