![]() |
libmpcdec 1.2.2 crash
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; 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. |
Which code are you talking about ? There's no std::string in libmpcdec.
After a quick look at the sources, libmpcdec does check invalid profile id and use "n.a." as profile_name |
Quote:
Code:
FILE *File=_wfopen(CompleteFileName.c_str(), L"rb"); would you like I give you an example complete source code? |
All times are GMT. The time now is 06:35 am. |
Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2021, vBulletin Solutions Inc.