[ lame-Bugs-3526854 ] Crash when using IAMStreamConfig GetStreamCaps function

SourceForge.net <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[email protected]>
Bugs item #3526854, was opened at 2012-05-15 00:25
Message generated for change (Comment added) made by jwflynn1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=3526854&group_id=290

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Libraries
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash when using IAMStreamConfig GetStreamCaps function

Initial Comment:
lame.ax
When the IAMStreamConfig::GetStreamCaps() is called, the filter crashes because of the unitialized variable "m_mt" if the output pin is not connected. m_mt represents the connection mediatype of the output pin, however the pin can be not connected when GetStreamCaps() is called.

----------------------------------------------------------------------

Comment By: Joseph Flynn (jwflynn1)
Date: 2012-05-15 16:24

Message:
I am not trying to justify the crash but your methodology is incorrect. The
compressor output pins need to be rendered *before* you set the compression
parameters or call GetStreamCaps().


Joe Flynn

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=3526854&group_id=290

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.