==11326== Thread 7: ==11326== Invalid write of size 1 ==11326== at 0x4C26769: memset (mc_replace_strmem.c:602) ==11326== by 0x9D5525: CAEPackIEC958::PackEAC3(unsigned char*, unsigned int, unsigned char*) (AEPackIEC958.cpp:77) ==11326== by 0x991C14: CDVDAudioCodecPassthrough::Decode(unsigned char*, int) (DVDAudioCodecPassthrough.cpp:94) ==11326== by 0x930C7D: CDVDPlayerAudio::DecodeFrame(stDVDAudioFrame&, bool) (DVDPlayerAudio.cpp:299) ==11326== by 0x931429: CDVDPlayerAudio::Process() (DVDPlayerAudio.cpp:524) ==11326== by 0xBCE961: CThread::staticThread(void*) (Thread.cpp:202) ==11326== by 0x9064A5C: start_thread (in /lib64/libpthread-2.11.1.so) ==11326== by 0xEA2015C: clone (in /lib64/libc-2.11.1.so) ==11326== Address 0x18e2c0a0 is 0 bytes after a block of size 49,360 alloc'd ==11326== at 0x4C24ABC: operator new(unsigned long) (vg_replace_malloc.c:220) ==11326== by 0x98CF04: CDVDFactoryCodec::CreateAudioCodec(CDVDStreamInfo&, bool) (DVDFactoryCodec.cpp:241) ==11326== by 0x931F27: CDVDPlayerAudio::OpenStream(CDVDStreamInfo&) (DVDPlayerAudio.cpp:185) ==11326== by 0x920E4E: CDVDPlayer::OpenAudioStream(int, int) (DVDPlayer.cpp:2520) ==11326== by 0x926FEC: CDVDPlayer::OpenDefaultStreams() (DVDPlayer.cpp:606) ==11326== by 0x92B65B: CDVDPlayer::Process() (DVDPlayer.cpp:862) ==11326== by 0xBCE961: CThread::staticThread(void*) (Thread.cpp:202) ==11326== by 0x9064A5C: start_thread (in /lib64/libpthread-2.11.1.so) ==11326== by 0xEA2015C: clone (in /lib64/libc-2.11.1.so) ==11326==