with this file :
http://mediaarea.net/crash.mpc
If I use libmpcdec 1.2.2, I have a crash with this code :
Code:
mpc_streaminfo Info;
(...)
if (Info.profile_name)
std::string S=Info.profile_name;
Note that Info.profile is 494.
I think you do not check the value of profile when you map it with a char* for the profile name.
I don't know why the profile is so high.