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

MythTV noreply at mythtv.org
Fri Jun 14 13:02:53 UTC 2013


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

 * owner:   => Gary Buhrmaster <gary.buhrmaster@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:d395df6ad8c4f6580fb0c3047022b61860942455/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="d395df6ad8c4f6580fb0c3047022b61860942455"
 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
 Fixes #11594

 Signed-off-by: Daniel Kristjansson <danielk at cuymedia.net>
 }}}

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


More information about the mythtv-commits mailing list