BUGFIX 2970556: Fix possible overflow in material importer ( obj ) .

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@833 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2010-10-26 18:48:55 +00:00
parent 613a4cc679
commit b0d8d83b75
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ struct Material;
class ObjFileMtlImporter class ObjFileMtlImporter
{ {
public: public:
static const size_t BUFFERSIZE = 1024; static const size_t BUFFERSIZE = 2048;
typedef std::vector<char> DataArray; typedef std::vector<char> DataArray;
typedef std::vector<char>::iterator DataArrayIt; typedef std::vector<char>::iterator DataArrayIt;
typedef std::vector<char>::const_iterator ConstDataArrayIt; typedef std::vector<char>::const_iterator ConstDataArrayIt;