[mythtv-commits] Ticket #5303: memset usage in mythcommflag a little wonky

MythTV mythtv at cvs.mythtv.org
Tue Jun 3 15:40:31 UTC 2008

#5303: memset usage in mythcommflag a little wonky
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  ijr    
     Type:  defect                           |       Status:  new    
 Priority:  minor                            |    Milestone:  unknown
Component:  mythtv                           |      Version:  head   
 Severity:  low                              |   Resolution:         
  Mlocked:  0                                |  

Comment(by Erik Hovland <erik at hovland.org>):

 The second patch replaces the first. The static analysis checker I am
 using was shown to be at fault with exposing a defect associated with
 sizeof and variable size arrays. So the original code is correct with the
 sizeof call. The new patch only removes the referencing operator from the
 array since that is superfluous (and possibly incorrect).

Ticket URL: <http://svn.mythtv.org/trac/ticket/5303#comment:1>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list