[mythtv-commits] Ticket #8590: Nondeterministic mythcommflag segfaults on trunk

MythTV mythtv at cvs.mythtv.org
Thu Jun 24 17:02:44 UTC 2010


#8590: Nondeterministic mythcommflag segfaults on trunk
---------------------------------+------------------------------------------
 Reporter:  km@…                 |       Owner:  danielk   
     Type:  defect               |      Status:  assigned  
 Priority:  minor                |   Milestone:  0.24      
Component:  MythTV - General     |     Version:  Trunk Head
 Severity:  medium               |     Mlocked:  0         
---------------------------------+------------------------------------------

Comment(by km@…):

 It looks like at least one use after free comes from change set 24327 in
 ClassicCommDetector.cpp. It introduces a premature delete.


 {{{

     872         delete[] colMax;
     873
     874         for(int x = commDetectBorder; x < (width -
 commDetectBorder);
     875                 x += horizSpacing)
     876             if (colMax[x] >= commDetectBoxBrightness)

 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8590#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list