From f8132bf17cf4ba605a3dedbc3f8318c9eb8c78c4 Mon Sep 17 00:00:00 2001 From: Johan Mattsson <39247600+mjunix@users.noreply.github.com> Date: Mon, 20 Feb 2023 19:50:06 +0100 Subject: [PATCH 1/2] Fix index out of bounds --- code/AssetLib/B3D/B3DImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/B3D/B3DImporter.cpp b/code/AssetLib/B3D/B3DImporter.cpp index d970ecabb..e87744603 100644 --- a/code/AssetLib/B3D/B3DImporter.cpp +++ b/code/AssetLib/B3D/B3DImporter.cpp @@ -150,7 +150,7 @@ AI_WONT_RETURN void B3DImporter::Fail(const string &str) { // ------------------------------------------------------------------------------------------------ int B3DImporter::ReadByte() { - if (_pos > _buf.size()) { + if (_pos >= _buf.size()) { Fail("EOF"); } From 6aac7a2458730dace3631f3924906c885931ed3b Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 21 Feb 2023 21:34:49 +0100 Subject: [PATCH 2/2] Fix: Fix typo in doc - closes https://github.com/assimp/assimp/issues/4973 --- doc/Fileformats.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Fileformats.md b/doc/Fileformats.md index 89b68e17f..118d798f2 100644 --- a/doc/Fileformats.md +++ b/doc/Fileformats.md @@ -14,7 +14,7 @@ __Importers__: - B3D - [BLEND](https://en.wikipedia.org/wiki/.blend_(file_format)) - [BVH](https://en.wikipedia.org/wiki/Biovision_Hierarchy) -- CMS +- CSM - COB - [DAE/Collada](https://en.wikipedia.org/wiki/COLLADA) - [DXF](https://en.wikipedia.org/wiki/AutoCAD_DXF)