assimp/assimp/issues/698: Increase upper limits for hints.

This commit is contained in:
Kim Kulling
2015-11-28 10:06:26 +01:00
parent 75f7d93434
commit ba35c97e9d
2 changed files with 4 additions and 1 deletions

View File

@@ -491,7 +491,7 @@ const aiScene* Importer::ReadFileFromMemory( const void* pBuffer,
pHint = "";
}
if (!pBuffer || !pLength || strlen(pHint) > 100) {
if (!pBuffer || !pLength || strlen(pHint) > MaxLenHint ) {
pimpl->mErrorString = "Invalid parameters passed to ReadFileFromMemory()";
return NULL;
}