[mythtv-commits] Ticket #11595: Patch to address potential integer overflow in freesurround.cpp - fixes coverity 700584
MythTV
noreply at mythtv.org
Sat Jun 15 17:58:20 UTC 2013
#11595: Patch to address potential integer overflow in freesurround.cpp - fixes
coverity 700584
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster <gary.buhrmaster@…> | Owner:
Type: Patch - Bug Fix | jyavenard
Priority: minor | Status: closed
Component: MythTV - Audio Output | Milestone: unknown
Severity: medium | Version: Master
Keywords: | Head
| Resolution: fixed
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:a08ece53bc706ef1ab2afed712a5c71f1f093f64/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="a08ece53bc706ef1ab2afed712a5c71f1f093f64"
Patch to address potential integer overflow
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
(theoretical) integer overflow. Cast to 64 bits to fix the
defect.
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
(cherry picked from commit 499584ef7e20f97c738427fffc2657a56f1617ab)
Fixes #11595
Signed-off-by: Stuart Morgan <smorgan at mythtv.org>
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11595#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list