[mythtv-commits] Ticket #9425: mythtranscode segfault in AudioReencodeBuffer::AddFrames

MythTV noreply at mythtv.org
Mon Jan 3 11:58:27 UTC 2011


#9425: mythtranscode segfault in AudioReencodeBuffer::AddFrames
-----------------------------------------------+---------------------------
 Reporter:  timowi <mythtv@…>                  |          Owner:
     Type:  Bug Report                         |         Status:  new
 Priority:  minor                              |      Milestone:  unknown
Component:  MythTV - Mythtranscode             |        Version:
 Severity:  medium                             |  0.24-fixes
 Keywords:                                     |     Resolution:
                                               |  Ticket locked:  0
-----------------------------------------------+---------------------------

Comment (by timowi <mythtv@…>):

 I come closer to the root of the problem... There is a int array just
 before the audiobuffer pointer:
 {{{
 int ab_count;
 int ab_len[128];
 int ab_offset[128];
 long long ab_time[128];
 unsigned char *audiobuffer;
 }}}

 The arrays are indexed by ab_count and ab_count becomes bigger than 127.
 So the audiobuffer pointer gets overwritten in the next call to
 {{{AddFrames()}}}.

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


More information about the mythtv-commits mailing list