Fix unterminated buffer in a certain error messahe produced by the LWO loader.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@619 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
50264941dd
commit
255e68aafc
|
@ -170,6 +170,7 @@ void LWOImporter::InternReadFile( const std::string& pFile,
|
|||
szBuff[1] = (char)(fileType >> 16u);
|
||||
szBuff[2] = (char)(fileType >> 8u);
|
||||
szBuff[3] = (char)(fileType);
|
||||
szBuff[4] = '\0';
|
||||
throw DeadlyImportError(std::string("Unknown LWO sub format: ") + szBuff);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue