[mythtv-commits] Ticket #12236: Patch to protect against potential divide by zero in audiooutputbase.cpp

MythTV noreply at mythtv.org
Tue Aug 5 06:03:29 UTC 2014


#12236: Patch to protect against potential divide by zero in audiooutputbase.cpp
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Master Head
    Component:  MythTV - General                 |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 Static analysis (scan-build) reported a potential divide by zero in
 audiooutputbase.cpp.  Protect against the possibility using the same
 construct used 16 lines earlier in the code to protect against the same
 divide by zero possibility.

 github ref:
 https://github.com/garybuhrmaster/mythtv/commit/27be2356a55dda649050e360edfbcc5641527382
 github git-am ref:
 https://github.com/garybuhrmaster/mythtv/commit/27be2356a55dda649050e360edfbcc5641527382.patch

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


More information about the mythtv-commits mailing list