[mythtv-commits] Ticket #11595: Patch to address potential integer overflow in freesurround.cpp - fixes coverity 700584
MythTV
noreply at mythtv.org
Wed Jun 12 19:59:52 UTC 2013
#11595: Patch to address potential integer overflow in freesurround.cpp - fixes
coverity 700584
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster | Owner: jyavenard
<gary.buhrmaster@…> | Status: new
Type: Patch - Bug Fix | Milestone: unknown
Priority: minor | Version: Master Head
Component: MythTV - Audio Output | Keywords:
Severity: medium |
Ticket locked: 0 |
-------------------------------------------------+-------------------------
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
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11595>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list