[mythtv-commits] Ticket #12232: Patch to address Coverity reported (potential) integer overflow - fixes Coverity 1229296

MythTV noreply at mythtv.org
Sat Aug 2 07:21:25 UTC 2014


#12232: Patch to address Coverity reported (potential) integer overflow - fixes
Coverity 1229296
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  dekarl
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Unspecified
    Component:  MythTV - EIT                     |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 Coverity reported a potential integer overflow.  While the values  cannot
 overflow when shifted by 16 bits, Coverity does not understand that.  For
 code cleanliness, fix it by moving the cast, and add other casts in the
 same code fragment.

 Fixes Coverity 1229296

 github ref:
 https://github.com/garybuhrmaster/mythtv/commit/d7c8d637091ada04984fc4ca6be2477c24b216a2

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

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


More information about the mythtv-commits mailing list