[mythtv-commits] Ticket #11596: Patch for a feasible divide by zero in ClassicLogoDetector.cpp - fixes coverity 746806 and 746807
MythTV
noreply at mythtv.org
Sat Jun 15 06:03:30 UTC 2013
#11596: Patch for a feasible divide by zero in ClassicLogoDetector.cpp - fixes
coverity 746806 and 746807
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster <gary.buhrmaster@…> | Owner:
Type: Patch - Bug Fix | cpinkham
Priority: minor | Status: closed
Component: MythTV - Mythcommflag | 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:e63d70bc478fee4d79a0f5387e857078ff8ff067/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="e63d70bc478fee4d79a0f5387e857078ff8ff067"
[PATCH] Patch for feasible divide by zero
Static analysis (coverity) detected a feasible (although
not likely) code path such that the variables testEdges
and testNotEdges could be zero, which would result in
a divide by zero. Add in a check for the zero case.
Fixes coverity 746806 and 746807
Fixes #11596.
Signed-off-by: Chris Pinkham <cpinkham at mythtv.org>
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11596#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list