[mythtv-commits] Ticket #11594: Patch to address potential integer overflow in dtvchannel.cpp - fixes coverity 700586

MythTV noreply at mythtv.org
Wed Jun 12 16:01:52 UTC 2013


#11594: Patch to address potential integer overflow in dtvchannel.cpp - fixes
coverity 700586
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |           Type:  Patch -
   Status:  new                                  |  Bug Fix
Milestone:  unknown                              |       Priority:  minor
  Version:  Master Head                          |      Component:  MythTV
 Keywords:                                       |  - General
                                                 |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 Support higher tuning frequencies :-)

 Static analysis (coverity) detected that some of the math computing
 frequencies was performed in 32 bit arithmetic, even though the result was
 64 bits.  This could result in an integer overflow.  Use the Qt long long
 type to move to 64 bit calculations.

 Fixes coverity 700586

 github direct link:
 https://github.com/garybuhrmaster/mythtv/commit/788496de9cafe49db76ea67ce4f17d6e7f5f03e7

 (or, if you prefer the other format)

 github git-am formatted link:
 https://github.com/garybuhrmaster/mythtv/commit/788496de9cafe49db76ea67ce4f17d6e7f5f03e7.patch

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


More information about the mythtv-commits mailing list