
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi All,
New version of
OpenAL11CoreSDK has updated for secure file and console operations. But there is sprintf which omitted about this changing I think. When I build new version framework I have get warning about security on VS2008, I think sprintf should be changed to sprintf_s as follows;
ALchar *ALFWaddMediaPath(const ALchar *filename)
{
// sprintf(fullPath, "%s%s", "..\\..\\Media\\", filename); Obsolete one
sprintf_s(fullPath, _MAX_PATH, "%s%s", "..\\..\\Media\\", filename);
return fullPath;
}
Regards.
Ümit Uzun
_______________________________________________
Openal mailing list
Openal@...
http://opensource.creative.com/mailman/listinfo/openal