From b0d8d83b75170f20bdcb2cf90ee80023c6643271 Mon Sep 17 00:00:00 2001 From: kimmi Date: Tue, 26 Oct 2010 18:48:55 +0000 Subject: [PATCH] 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 --- code/ObjFileMtlImporter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ObjFileMtlImporter.h b/code/ObjFileMtlImporter.h index 7b0acbf1f..9d45102e7 100644 --- a/code/ObjFileMtlImporter.h +++ b/code/ObjFileMtlImporter.h @@ -62,7 +62,7 @@ struct Material; class ObjFileMtlImporter { public: - static const size_t BUFFERSIZE = 1024; + static const size_t BUFFERSIZE = 2048; typedef std::vector DataArray; typedef std::vector::iterator DataArrayIt; typedef std::vector::const_iterator ConstDataArrayIt;