On Nov 16, 2009, at 7:41 AM, Christopher Liscio wrote:
On Nov 5, 2009, at 11:48 AM, Rob Robson wrote:
Calling ExtAudioFileDispose() on a > 2 hour large MP4 audio file causes a crash.
* ExtAudioFileDispose() calls AudioFileClose()
* AudioFileClose() calls MP4AudioFile::Close()
* As part of closing the mp4 file, MP4AudioFile::FillGaplessString() is called
* MP4AudioFile::FillGaplessString() calls UInt32ToHexString with a sufficiently large value (value >= 0x10000000; see NOTES below)
* UInt32ToHexString() calls sprintf() with a too-small stack-allocated buffer
* At the end of UInt32ToHexString(), __stack_chk_guard is found to have been altered, and __stack_chk_fail() is called.
* __stack_chk_fail() logs a message and calls __abort(), which terminates the process.
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|