[mythtv-commits] Ticket #4746: make sure the audio_codec pointer is valid before dereferencing in AudioOutputBase::Reconfigure

MythTV mythtv at cvs.mythtv.org
Fri Feb 22 21:59:26 UTC 2008


#4746: make sure the audio_codec pointer is valid before dereferencing in
AudioOutputBase::Reconfigure
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr 
     Type:  defect                           |      Status:  new 
 Priority:  minor                            |   Milestone:  0.21
Component:  mythtv                           |     Version:  head
 Severity:  low                              |     Mlocked:  0   
---------------------------------------------+------------------------------
 AudioOutputBase::Reconfigure in libs/libmyth/audiooutputbase.cpp may have
 a null for the audio_codec pointer. So when it builds the soundtouch
 object, it could dereference that pointer (causing a segfault). It should
 check before doing this.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4746>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list