[mythtv-commits] Ticket #4577: Segfault playing DVB Radio recording

MythTV mythtv at cvs.mythtv.org
Mon Feb 4 14:57:33 UTC 2008


#4577: Segfault playing DVB Radio recording
-------------------------------------------+--------------------------------
 Reporter:  Robin Gilks <g8ecj at gilks.org>  |        Owner:  ijr    
     Type:  defect                         |       Status:  new    
 Priority:  minor                          |    Milestone:  unknown
Component:  mythtv                         |      Version:  head   
 Severity:  medium                         |   Resolution:         
  Mlocked:  0                              |  
-------------------------------------------+--------------------------------

Comment(by dm at prolingua.co.uk):

 I just noticed this while I was testing something else.  When I looked at
 this it seemed that the value of the size of the buffer pointed to by
 frame->buf was smaller than frame->size so memcpy gave a segfault when it
 tried to write to the buffer.  I tried using
 frame->width*frame->height*frame->bpp/8 as the size and that gave me a
 value that worked.  I couldn't see where the buffer was allocated or what
 its correct size should be.

 David.

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


More information about the mythtv-commits mailing list