diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index bcda27cb0e43f8db84f6dc6de0c1361cc7dfc473..b7118010ace7ecbadee2e0d898313a447dad633a 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -3292,7 +3292,7 @@ void LLMeshHeaderHandler::processData(LLCore::BufferArray * /* body */, S32 /* b file.write(data, data_size); // zero out the rest of the file - U8 block[MESH_HEADER_SIZE] = {}; + U8 block[65536] = {}; while (bytes - file.tell() > sizeof(block)) {