[mythtv-commits] Ticket #12231: Patch to protected against (another) divide by zero. Fixes Coverity 746808

MythTV noreply at mythtv.org
Sat Aug 2 06:21:37 UTC 2014


#12231: Patch to protected against (another) divide by zero.  Fixes Coverity 746808
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  cpinkham
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Unspecified
    Component:  MythTV - Mythcommflag            |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 In d61b5044c7f83ef55b155f90612e0a5d35348e38 an attempt was made to protect
 against a divide by zero.  Unfortunately, the final "or" case in the if
 statement was not protected against.  This patch will protect against a
 potential divide by zero.

 Fixes Coverity 746808


 github ref:
 https://github.com/garybuhrmaster/mythtv/commit/179c79dfe58edc9277fee210c3d40b0d44457e70

 github git-am ref:
 https://github.com/garybuhrmaster/mythtv/commit/179c79dfe58edc9277fee210c3d40b0d44457e70.patch

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12231>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list