From cf9767668ac622fe5ab9bd0cb0f1dcbaa5ef7441 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Fri, 28 Jun 2024 21:30:43 +0900 Subject: [PATCH] bump minor version. --- tiny_gltf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 197c5fc..4a8d073 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -25,7 +25,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -// Version: - v2.8.10 +// Version: - v2.9.* // See https://github.com/syoyo/tinygltf/releases for release history. // // Tiny glTF loader is using following third party libraries: @@ -6834,7 +6834,7 @@ bool TinyGLTF::LoadBinaryFromMemory(Model *model, std::string *err, // 'SHOULD' in glTF spec means 'RECOMMENDED', // So there is a situation that Chunk1(BIN) is composed of zero-sized BIN data // (chunksize(0) + binformat(BIN) = 8bytes). - // + // if ((header_and_json_size + 8ull) > uint64_t(length)) { if (err) { (*err) =