public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/assimp] f45: Update to 6.0.6
Date: Fri, 13 Nov 2026 10:52:14 GMT	[thread overview]
Message-ID: <179456713469.1.7615682223611962887.rpms-assimp-788c77fffe44@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/assimp
Branch : f45
Commit : 788c77fffe443c36c2286bb9c1e24de4363e2c5c
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-11-13T11:47:22+01:00
Stats  : +63/-795 in 15 file(s)
URL    : https://src.fedoraproject.org/rpms/assimp/c/788c77fffe443c36c2286bb9c1e24de4363e2c5c?branch=f45

Log:
Update to 6.0.6

---
diff --git a/.gitignore b/.gitignore
index 1341a4c..8a2833f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /assimp-6.0.3-free.tar.xz
 /assimp-6.0.4-free.tar.xz
 /assimp-6.0.5-free.tar.xz
+/assimp-6.0.6-free.tar.xz

diff --git a/CVE-2025-15666.patch b/CVE-2025-15666.patch
deleted file mode 100644
index 3dea404..0000000
--- a/CVE-2025-15666.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/MDL/MDLMaterialLoader.cpp assimp-6.0.5-new/code/AssetLib/MDL/MDLMaterialLoader.cpp
---- assimp-6.0.5/code/AssetLib/MDL/MDLMaterialLoader.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/MDL/MDLMaterialLoader.cpp	2026-10-18 14:10:13.703874592 +0200
-@@ -221,6 +221,14 @@ void MDLImporter::ParseTextureColorData(
- 
-     // allocate storage for the texture image
-     if (do_read) {
-+        // a zero-height texture must be a compressed blob of mWidth bytes,
-+        // but this path produces an mWidth*mHeight pixel array - the
-+        // resulting object would violate the aiTexture contract and read
-+        // out of bounds when the scene is copied (e.g. on export)
-+        if (pcNew->mHeight == 0 && pcNew->mWidth != 0) {
-+            throw DeadlyImportError("Invalid MDL file. A texture has zero height.");
-+        }
-+
-         // check for max texture sizes
-         if (pcNew->mWidth > MaxTextureSize || pcNew->mHeight > MaxTextureSize) {
-             throw DeadlyImportError("Invalid MDL file. A texture is too big.");

diff --git a/CVE-2026-14604.patch b/CVE-2026-14604.patch
deleted file mode 100644
index f8fb825..0000000
--- a/CVE-2026-14604.patch
+++ /dev/null
@@ -1,249 +0,0 @@
-diff -rupN --no-dereference assimp-6.0.5/code/Common/SceneCombiner.cpp assimp-6.0.5-new/code/Common/SceneCombiner.cpp
---- assimp-6.0.5/code/Common/SceneCombiner.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/Common/SceneCombiner.cpp	2026-10-18 14:10:13.434601536 +0200
-@@ -68,8 +68,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- namespace Assimp {
- 
- #if (__GNUC__ >= 8 && __GNUC_MINOR__ >= 0)
--#pragma GCC diagnostic push
--#pragma GCC diagnostic ignored "-Wclass-memaccess"
-+#  pragma GCC diagnostic push
-+#  pragma GCC diagnostic ignored "-Wclass-memaccess"
- #endif
- 
- // ------------------------------------------------------------------------------------------------
-@@ -80,8 +80,7 @@ inline void PrefixString(aiString &strin
-         return;
- 
-     if (len + string.length >= AI_MAXLEN - 1) {
--        ASSIMP_LOG_VERBOSE_DEBUG("Can't add an unique prefix because the string is too long");
--        ai_assert(false);
-+        ASSIMP_LOG_ERROR("Can't add an unique prefix because the string is too long");
-         return;
-     }
- 
-@@ -116,7 +115,10 @@ void SceneCombiner::AddNodeHashes(aiNode
- // ------------------------------------------------------------------------------------------------
- // Add a name prefix to all nodes in a hierarchy
- void SceneCombiner::AddNodePrefixes(aiNode *node, const char *prefix, unsigned int len) {
--    ai_assert(nullptr != prefix);
-+    if (prefix == nullptr) {
-+        ASSIMP_LOG_ERROR("Pointer to prefix is nullptr.");
-+        return;
-+    }
- 
-     PrefixString(node->mName, prefix, len);
- 
-@@ -144,7 +146,10 @@ bool SceneCombiner::FindNameMatch(const
- // Add a name prefix to all nodes in a hierarchy if a hash match is found
- void SceneCombiner::AddNodePrefixesChecked(aiNode *node, const char *prefix, unsigned int len,
-         std::vector<SceneHelper> &input, unsigned int cur) {
--    ai_assert(nullptr != prefix);
-+    if (prefix == nullptr) {
-+        ASSIMP_LOG_ERROR("Pointer to prefix is nullptr.");
-+        return;
-+    }
- 
-     const unsigned int hash = SuperFastHash(node->mName.data, static_cast<uint32_t>(node->mName.length));
- 
-@@ -165,8 +170,9 @@ void SceneCombiner::AddNodePrefixesCheck
- // ------------------------------------------------------------------------------------------------
- // Add an offset to all mesh indices in a node graph
- void SceneCombiner::OffsetNodeMeshIndices(aiNode *node, unsigned int offset) {
--    for (unsigned int i = 0; i < node->mNumMeshes; ++i)
-+    for (unsigned int i = 0; i < node->mNumMeshes; ++i) {
-         node->mMeshes[i] += offset;
-+    }
- 
-     for (unsigned int i = 0; i < node->mNumChildren; ++i) {
-         OffsetNodeMeshIndices(node->mChildren[i], offset);
-@@ -177,6 +183,7 @@ void SceneCombiner::OffsetNodeMeshIndice
- // Merges two scenes. Currently only used by the LWS loader.
- void SceneCombiner::MergeScenes(aiScene **_dest, std::vector<aiScene *> &src, unsigned int flags) {
-     if (nullptr == _dest) {
-+        ASSIMP_LOG_ERROR("Pointer to destination scene is nullptr.");
-         return;
-     }
- 
-@@ -211,7 +218,7 @@ void SceneCombiner::MergeScenes(aiScene
- 
- // ------------------------------------------------------------------------------------------------
- void SceneCombiner::AttachToGraph(aiNode *attach, std::vector<NodeAttachmentInfo> &srcList) {
--    unsigned int cnt;
-+    unsigned int cnt{0};
-     for (cnt = 0; cnt < attach->mNumChildren; ++cnt) {
-         AttachToGraph(attach->mChildren[cnt], srcList);
-     }
-@@ -219,8 +226,9 @@ void SceneCombiner::AttachToGraph(aiNode
-     cnt = 0;
-     for (std::vector<NodeAttachmentInfo>::iterator it = srcList.begin();
-             it != srcList.end(); ++it) {
--        if ((*it).attachToNode == attach && !(*it).resolved)
-+        if ((*it).attachToNode == attach && !(*it).resolved) {
-             ++cnt;
-+        }
-     }
- 
-     if (cnt) {
-@@ -314,12 +322,6 @@ void SceneCombiner::MergeScenes(aiScene
- 
-     // Generate unique names for all named stuff?
-     if (flags & AI_INT_MERGE_SCENE_GEN_UNIQUE_NAMES) {
--#if 0
--        // Construct a proper random number generator
--        boost::mt19937 rng(  );
--        boost::uniform_int<> dist(1u,1 << 24u);
--        boost::variate_generator<boost::mt19937&, boost::uniform_int<> > rndGen(rng, dist);
--#endif
-         for (unsigned int i = 1; i < src.size(); ++i) {
-             src[i].idlen = ai_snprintf(src[i].id, 32, "$%.6X$_", i);
- 
-@@ -371,13 +373,14 @@ void SceneCombiner::MergeScenes(aiScene
-             SceneHelper *cur = &src[n];
-             for (unsigned int i = 0; i < (*cur)->mNumTextures; ++i) {
-                 if (n != duplicates[n]) {
--                    if (flags & AI_INT_MERGE_SCENE_DUPLICATES_DEEP_CPY)
-+                    if (flags & AI_INT_MERGE_SCENE_DUPLICATES_DEEP_CPY) {
-                         Copy(pip, (*cur)->mTextures[i]);
--
--                    else
-+                    } else {
-                         continue;
--                } else
-+                    }
-+                } else {
-                     *pip = (*cur)->mTextures[i];
-+                }
-                 ++pip;
-             }
- 
-@@ -394,13 +397,14 @@ void SceneCombiner::MergeScenes(aiScene
-             SceneHelper *cur = &src[n];
-             for (unsigned int i = 0; i < (*cur)->mNumMaterials; ++i) {
-                 if (n != duplicates[n]) {
--                    if (flags & AI_INT_MERGE_SCENE_DUPLICATES_DEEP_CPY)
-+                    if (flags & AI_INT_MERGE_SCENE_DUPLICATES_DEEP_CPY) {
-                         Copy(pip, (*cur)->mMaterials[i]);
--
--                    else
-+                    } else {
-                         continue;
--                } else
-+                    }
-+                } else {
-                     *pip = (*cur)->mMaterials[i];
-+                }
- 
-                 if ((*cur)->mNumTextures != dest->mNumTextures) {
-                     // We need to update all texture indices of the mesh. So we need to search for
-@@ -457,16 +461,21 @@ void SceneCombiner::MergeScenes(aiScene
-             SceneHelper *cur = &src[n];
-             for (unsigned int i = 0; i < (*cur)->mNumMeshes; ++i) {
-                 if (n != duplicates[n]) {
--                    if (flags & AI_INT_MERGE_SCENE_DUPLICATES_DEEP_CPY)
-+                    if (flags & AI_INT_MERGE_SCENE_DUPLICATES_DEEP_CPY) {
-                         Copy(pip, (*cur)->mMeshes[i]);
--
--                    else
-+                    } else {
-                         continue;
--                } else
-+                    }
-+                } else {
-                     *pip = (*cur)->mMeshes[i];
-+                }
- 
-                 // update the material index of the mesh
--                (*pip)->mMaterialIndex += offset[n];
-+                if ((*pip) != nullptr) {
-+                    (*pip)->mMaterialIndex += offset[n];
-+                } else {
-+                    ASSIMP_LOG_ERROR("CopyMeshes: Missing mesh instance found, skipped.");
-+                }
-                 ++pip;
-             }
- 
-@@ -1085,14 +1094,19 @@ void SceneCombiner::Copy(aiMesh **_dest,
-     GetArrayCopy(dest->mTangents, dest->mNumVertices);
-     GetArrayCopy(dest->mBitangents, dest->mNumVertices);
- 
--    unsigned int n = 0;
--    while (dest->HasTextureCoords(n)) {
--        GetArrayCopy(dest->mTextureCoords[n++], dest->mNumVertices);
-+    // Reallocate every populated UV and color channel. The destructor frees
-+    // all AI_MAX_NUMBER_OF_* channels, so the copy must own an independent
-+    // buffer for each non-null one. Iterating with HasTextureCoords()/
-+    // HasVertexColors() would stop at the first empty channel (leaving any
-+    // later channel aliased with the source) and also skip channels of a mesh
-+    // with mNumVertices == 0, which then double-frees when both meshes are
-+    // destroyed.
-+    for (unsigned int n = 0; n < AI_MAX_NUMBER_OF_TEXTURECOORDS; ++n) {
-+        GetArrayCopy(dest->mTextureCoords[n], dest->mNumVertices);
-     }
- 
--    n = 0;
--    while (dest->HasVertexColors(n)) {
--        GetArrayCopy(dest->mColors[n++], dest->mNumVertices);
-+    for (unsigned int n = 0; n < AI_MAX_NUMBER_OF_COLOR_SETS; ++n) {
-+        GetArrayCopy(dest->mColors[n], dest->mNumVertices);
-     }
- 
-     // make a deep copy of all bones
-diff -rupN --no-dereference assimp-6.0.5/test/unit/utSceneCombiner.cpp assimp-6.0.5-new/test/unit/utSceneCombiner.cpp
---- assimp-6.0.5/test/unit/utSceneCombiner.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/test/unit/utSceneCombiner.cpp	2026-10-18 14:10:13.435049385 +0200
-@@ -75,3 +75,54 @@ TEST_F(utSceneCombiner, CopySceneWithNul
-     EXPECT_NO_THROW(SceneCombiner::CopyScene(nullptr, nullptr));
-     EXPECT_NO_THROW(SceneCombiner::CopySceneFlat(nullptr, nullptr));
- }
-+
-+// Copying a mesh must give the copy its own UV and color buffers for every
-+// populated channel, even when the channel is not the first one or when the
-+// mesh reports zero vertices. Otherwise the copy aliases the source arrays and
-+// destroying both double-frees them (assimp/assimp#6620).
-+TEST_F(utSceneCombiner, CopyMeshDoesNotAliasSparseOrEmptyChannels) {
-+    auto makeMesh = []() {
-+        aiMesh *mesh = new aiMesh;
-+        // A populated UV channel that is not channel 0.
-+        mesh->mNumVertices = 2;
-+        mesh->mVertices = new aiVector3D[2];
-+        mesh->mTextureCoords[1] = new aiVector3D[2]{};
-+        mesh->mNumUVComponents[1] = 2;
-+        // A populated color channel that is not channel 0.
-+        mesh->mColors[1] = new aiColor4D[2]{};
-+        return mesh;
-+    };
-+
-+    // Non-contiguous channels: HasTextureCoords(0) is false, so the old loop
-+    // stopped before copying channel 1.
-+    {
-+        aiMesh *src = makeMesh();
-+        aiMesh *dst = nullptr;
-+        SceneCombiner::Copy(&dst, src);
-+        ASSERT_NE(dst, nullptr);
-+        EXPECT_NE(dst->mTextureCoords[1], src->mTextureCoords[1]);
-+        EXPECT_NE(dst->mColors[1], src->mColors[1]);
-+        delete dst;
-+        delete src;
-+    }
-+
-+    // A populated channel on a zero-vertex mesh: HasTextureCoords() requires
-+    // mNumVertices > 0, so the old loop skipped it.
-+    {
-+        aiMesh *src = makeMesh();
-+        src->mNumVertices = 0;
-+        delete[] src->mVertices;
-+        src->mVertices = nullptr;
-+        // Move the populated channels to index 0 to exercise the mNumVertices
-+        // guard specifically.
-+        std::swap(src->mTextureCoords[0], src->mTextureCoords[1]);
-+        std::swap(src->mColors[0], src->mColors[1]);
-+        aiMesh *dst = nullptr;
-+        SceneCombiner::Copy(&dst, src);
-+        ASSERT_NE(dst, nullptr);
-+        EXPECT_NE(dst->mTextureCoords[0], src->mTextureCoords[0]);
-+        EXPECT_NE(dst->mColors[0], src->mColors[0]);
-+        delete dst;
-+        delete src;
-+    }
-+}

diff --git a/CVE-2026-14610.patch b/CVE-2026-14610.patch
deleted file mode 100644
index e33a6e2..0000000
--- a/CVE-2026-14610.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/CSM/CSMLoader.cpp assimp-6.0.5-new/code/AssetLib/CSM/CSMLoader.cpp
---- assimp-6.0.5/code/AssetLib/CSM/CSMLoader.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/CSM/CSMLoader.cpp	2026-10-18 14:10:12.597585216 +0200
-@@ -175,7 +175,7 @@ void CSMImporter::InternReadFile( const
- 
-                 // If we know how many frames we'll read, we can preallocate some storage
-                 unsigned int alloc = 100;
--                if (last != 0x00ffffff) {
-+                if (last != 0x00ffffff && last > first) {
-                     // re-init if the file has last frame data
-                     alloc = last-first;
-                     alloc += alloc>>2u; // + 25%
-diff -rupN --no-dereference assimp-6.0.5/test/models/CSM/malformed_zero_framerange.csm assimp-6.0.5-new/test/models/CSM/malformed_zero_framerange.csm
---- assimp-6.0.5/test/models/CSM/malformed_zero_framerange.csm	1970-01-01 01:00:00.000000000 +0100
-+++ assimp-6.0.5-new/test/models/CSM/malformed_zero_framerange.csm	2026-10-18 14:10:12.597839174 +0200
-@@ -0,0 +1,6 @@
-+$FirstFrame 0
-+$LastFrame 0
-+$Order
-+A
-+$Points
-+0  1.0 2.0 3.0
-diff -rupN --no-dereference assimp-6.0.5/test/unit/utCSMImportExport.cpp assimp-6.0.5-new/test/unit/utCSMImportExport.cpp
---- assimp-6.0.5/test/unit/utCSMImportExport.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/test/unit/utCSMImportExport.cpp	2026-10-18 14:10:12.597945229 +0200
-@@ -58,3 +58,9 @@ public:
- TEST_F(utCSMImportExport, importBlenFromFileTest) {
-     EXPECT_TRUE(importerTest());
- }
-+
-+TEST_F(utCSMImportExport, importMalformedZeroFrameRange) {
-+    Assimp::Importer importer;
-+    const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/CSM/malformed_zero_framerange.csm", 0);
-+    EXPECT_NE(nullptr, scene);
-+}

diff --git a/CVE-2026-19967.patch b/CVE-2026-19967.patch
index 06e12ed..0c50950 100644
--- a/CVE-2026-19967.patch
+++ b/CVE-2026-19967.patch
@@ -1,6 +1,6 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/X/XFileParser.cpp assimp-6.0.5-new/code/AssetLib/X/XFileParser.cpp
---- assimp-6.0.5/code/AssetLib/X/XFileParser.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/X/XFileParser.cpp	2026-10-18 14:10:14.248831442 +0200
+diff -rupN --no-dereference assimp-6.0.6/code/AssetLib/X/XFileParser.cpp assimp-6.0.6-new/code/AssetLib/X/XFileParser.cpp
+--- assimp-6.0.6/code/AssetLib/X/XFileParser.cpp	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/code/AssetLib/X/XFileParser.cpp	2026-11-13 11:46:45.154499856 +0100
 @@ -195,7 +195,7 @@ XFileParser::XFileParser(const std::vect
                  AI_SWAP2(ofs);
                  mP += 4;

diff --git a/CVE-2026-19968.patch b/CVE-2026-19968.patch
deleted file mode 100644
index 0e22ef4..0000000
--- a/CVE-2026-19968.patch
+++ /dev/null
@@ -1,382 +0,0 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/LWO/LWOLoader.h assimp-6.0.5-new/code/AssetLib/LWO/LWOLoader.h
---- assimp-6.0.5/code/AssetLib/LWO/LWOLoader.h	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/LWO/LWOLoader.h	2026-10-18 14:10:12.880861759 +0200
-@@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- 
- #include "LWOFileData.h"
- #include <assimp/BaseImporter.h>
-+#include <assimp/Exceptional.h>
- #include <assimp/material.h>
- #include <assimp/DefaultLogger.hpp>
- 
-@@ -71,28 +72,10 @@ using namespace LWO;
- // ---------------------------------------------------------------------------
- class LWOImporter final : public BaseImporter {
- public:
--    /**
--     * @brief The class constructor.
--     */
-     LWOImporter() = default;
--
--    /**
--     * @brief The class destructor.
--     */
-     ~LWOImporter() override = default;
--
--    // -------------------------------------------------------------------
--    /** Returns whether the class can handle the format of the given file.
--     * See BaseImporter::CanRead() for details.
--     */
-     bool CanRead(const std::string &pFile, IOSystem *pIOHandler,
-             bool checkSig) const override;
--
--    // -------------------------------------------------------------------
--    /** Called prior to ReadFile().
--    * The function is a request to the importer to update its configuration
--    * basing on the Importer's configuration property list.
--    */
-     void SetupProperties(const Importer *pImp) override;
- 
- protected:
-@@ -109,18 +92,15 @@ protected:
- 
- private:
-     // -------------------------------------------------------------------
--    /** Loads a LWO file in the older LWOB format (LW < 6)
--     */
-+    /// Loads a LWO file in the older LWOB format (LW < 6)
-     void LoadLWOBFile();
- 
-     // -------------------------------------------------------------------
--    /** Loads a LWO file in the newer LWO2 format (LW >= 6)
--     */
-+    /// Loads a LWO file in the newer LWO2 format (LW >= 6)
-     void LoadLWO2File();
- 
-     // -------------------------------------------------------------------
--    /** Parsing functions used for all file format versions
--    */
-+    /// Parsing functions used for all file format versions
-     void GetS0(std::string &out, unsigned int max);
-     float GetF4();
-     float GetF8();
-@@ -130,39 +110,34 @@ private:
-     uint8_t GetU1();
- 
-     // -------------------------------------------------------------------
--    /** Loads a surface chunk from an LWOB file
--     *  @param size Maximum size to be read, in bytes.
--     */
-+    /// Loads a surface chunk from an LWOB file
-+    /// @param size Maximum size to be read, in bytes.
-     void LoadLWOBSurface(unsigned int size);
- 
-     // -------------------------------------------------------------------
--    /** Loads a surface chunk from an LWO2 file
--     *  @param size Maximum size to be read, in bytes.
--     */
-+    /// Loads a surface chunk from an LWO2 file
-+    ///  @param size Maximum size to be read, in bytes.
-     void LoadLWO2Surface(unsigned int size);
-     void LoadLWO3Surface(unsigned int size);
- 
-     // -------------------------------------------------------------------
--    /** Loads a texture block from a LWO2 file.
--     *  @param size Maximum size to be read, in bytes.
--     *  @param head Header of the SUF.BLOK header
--     */
-+    /// Loads a texture block from a LWO2 file.
-+    /// @param size Maximum size to be read, in bytes.
-+    /// @param head Header of the SUF.BLOK header
-     void LoadLWO2TextureBlock(LE_NCONST IFF::SubChunkHeader *head,
-             unsigned int size);
- 
-     // -------------------------------------------------------------------
--    /** Loads a shader block from a LWO2 file.
--     *  @param size Maximum size to be read, in bytes.
--     *  @param head Header of the SUF.BLOK header
--     */
-+    /// Loads a shader block from a LWO2 file.
-+    /// @param size Maximum size to be read, in bytes.
-+    /// @param head Header of the SUF.BLOK header
-     void LoadLWO2ShaderBlock(LE_NCONST IFF::SubChunkHeader *head,
-             unsigned int size);
- 
-     // -------------------------------------------------------------------
--    /** Loads an image map from a LWO2 file
--     *  @param size Maximum size to be read, in bytes.
--     *  @param tex Texture object to be filled
--     */
-+    /// Loads an image map from a LWO2 file
-+    /// @param size Maximum size to be read, in bytes.
-+    /// @param tex Texture object to be filled
-     void LoadLWO2ImageMap(unsigned int size, LWO::Texture &tex);
-     void LoadLWO2Gradient(unsigned int size, LWO::Texture &tex);
-     void LoadLWO2Procedural(unsigned int size, LWO::Texture &tex);
-@@ -171,48 +146,41 @@ private:
-     void LoadLWO2TextureHeader(unsigned int size, LWO::Texture &tex);
- 
-     // -------------------------------------------------------------------
--    /** Loads the LWO tag list from the file
--     *  @param size Maximum size to be read, in bytes.
--     */
-+    /// Loads the LWO tag list from the file
-+    /// @param size Maximum size to be read, in bytes.
-     void LoadLWOTags(unsigned int size);
- 
-     // -------------------------------------------------------------------
--    /** Load polygons from a POLS chunk
--     *  @param length Size of the chunk
--    */
-+    /// Load polygons from a POLS chunk
-+    /// @param length Size of the chunk
-     void LoadLWO2Polygons(unsigned int length);
-     void LoadLWOBPolygons(unsigned int length);
- 
-     // -------------------------------------------------------------------
--    /** Load polygon tags from a PTAG chunk
--     *  @param length Size of the chunk
--    */
-+    /// Load polygon tags from a PTAG chunk
-+    /// @param length Size of the chunk
-     void LoadLWO2PolygonTags(unsigned int length);
- 
-     // -------------------------------------------------------------------
--    /** Load a vertex map from a VMAP/VMAD chunk
--     *  @param length Size of the chunk
--     *  @param perPoly Operate on per-polygon base?
--    */
-+    /// Load a vertex map from a VMAP/VMAD chunk
-+    /// @param length Size of the chunk
-+    /// @param perPoly Operate on per-polygon base?
-     void LoadLWO2VertexMap(unsigned int length, bool perPoly);
- 
-     // -------------------------------------------------------------------
--    /** Load polygons from a PNTS chunk
--     *  @param length Size of the chunk
--    */
-+    /// Load polygons from a PNTS chunk
-+    /// @param length Size of the chunk
-     void LoadLWOPoints(unsigned int length);
- 
-     // -------------------------------------------------------------------
--    /** Load a clip from a CLIP chunk
--     *  @param length Size of the chunk
--    */
-+    /// Load a clip from a CLIP chunk
-+    /// @param length Size of the chunk
-     void LoadLWO2Clip(unsigned int length);
-     void LoadLWO3Clip(unsigned int length);
- 
-     // -------------------------------------------------------------------
--    /** Load an envelope from an EVL chunk
--     *  @param length Size of the chunk
--    */
-+    /// Load an envelope from an EVL chunk
-+    /// @param length Size of the chunk
-     void LoadLWO2Envelope(unsigned int length);
-     void LoadLWO3Envelope(unsigned int length);
- 
-@@ -226,8 +194,7 @@ private:
-     void LoadNodeData(unsigned int length);
- 
-     // -------------------------------------------------------------------
--    /** Count vertices and faces in a LWOB/LWO2 file
--    */
-+    /// Count vertices and faces in a LWOB/LWO2 file
-     void CountVertsAndFacesLWO2(unsigned int &verts,
-             unsigned int &faces,
-             uint16_t *&cursor,
-@@ -241,8 +208,7 @@ private:
-             unsigned int max = UINT_MAX);
- 
-     // -------------------------------------------------------------------
--    /** Read vertices and faces in a LWOB/LWO2 file
--    */
-+    /// Read vertices and faces in a LWOB/LWO2 file
-     void CopyFaceIndicesLWO2(LWO::FaceList::iterator &it,
-             uint16_t *&cursor,
-             const uint16_t *const end);
-@@ -254,45 +220,36 @@ private:
-             unsigned int max = UINT_MAX);
- 
-     // -------------------------------------------------------------------
--    /** Resolve the tag and surface lists that have been loaded.
--    *   Generates the mMapping table.
--    */
-+    /// Resolve the tag and surface lists that have been loaded.
-+    /// Generates the mMapping table.
-     void ResolveTags();
- 
-     // -------------------------------------------------------------------
--    /** Resolve the clip list that has been loaded.
--    *   Replaces clip references with real clips.
--    */
-+    /// Resolve the clip list that has been loaded.
-+    /// Replaces clip references with real clips.
-     void ResolveClips();
- 
-     // -------------------------------------------------------------------
--    /** Add a texture list to an output material description.
--     *
--     *  @param pcMat Output material
--     *  @param in Input texture list
--     *  @param type Type identifier of the texture list
--    */
-+    /// Add a texture list to an output material description.
-+    /// @param pcMat Output material
-+    /// @param in Input texture list
-+    /// @param type Type identifier of the texture list
-     bool HandleTextures(aiMaterial *pcMat, const TextureList &in,
-             aiTextureType type);
- 
-     // -------------------------------------------------------------------
--    /** Adjust a texture path
--    */
-+    /// Adjust a texture path
-     void AdjustTexturePath(std::string &out);
- 
-     // -------------------------------------------------------------------
--    /** Convert a LWO surface description to an ASSIMP material
--    */
-+    /// Convert a LWO surface description to an ASSIMP material
-     void ConvertMaterial(const LWO::Surface &surf, aiMaterial *pcMat);
- 
-     // -------------------------------------------------------------------
--    /** Get a list of all UV/VC channels required by a specific surface.
--     *
--     *  @param surf Working surface
--     *  @param layer Working layer
--     *  @param out Output list. The members are indices into the
--     *    UV/VC channel lists of the layer
--    */
-+    /// Get a list of all UV/VC channels required by a specific surface.
-+    /// @param surf Working surface
-+    /// @param layer Working layer
-+    /// @param out Output list. The members are indices into the UV/VC channel lists of the layer
-     void FindUVChannels(/*const*/ LWO::Surface &surf,
-             LWO::SortedRep &sorted,
-             /*const*/ LWO::Layer &layer,
-@@ -309,57 +266,47 @@ private:
-             unsigned int out[AI_MAX_NUMBER_OF_COLOR_SETS]);
- 
-     // -------------------------------------------------------------------
--    /** Generate the final node graph
--     *  Unused nodes are deleted.
--     *  @param apcNodes Flat list of nodes
--    */
-+    /// Generate the final node graph
-+    /// Unused nodes are deleted.
-+    /// @param apcNodes Flat list of nodes
-     void GenerateNodeGraph(std::map<uint16_t, aiNode *> &apcNodes);
- 
-     // -------------------------------------------------------------------
--    /** Add children to a node
--     *  @param node Node to become a father
--     *  @param parent Index of the node
--     *  @param apcNodes Flat list of nodes - used nodes are set to nullptr.
--    */
--    void AddChildren(aiNode *node, uint16_t parent,
--            std::vector<aiNode *> &apcNodes);
-+    /// Add children to a node
-+    /// @param node Node to become a father
-+    /// @param parent Index of the node
-+    /// @param apcNodes Flat list of nodes - used nodes are set to nullptr.
-+    void AddChildren(aiNode *node, uint16_t parent, std::vector<aiNode *> &apcNodes);
- 
-     // -------------------------------------------------------------------
--    /** Read a variable sized integer
--     *  @param inout Input and output buffer
--    */
-+    /// Read a variable sized integer
-+    /// @param inout Input and output buffer
-     int ReadVSizedIntLWO2(uint8_t *&inout);
- 
-     // -------------------------------------------------------------------
--    /** Assign a value from a VMAP to a vertex and all vertices
--     *  attached to it.
--     *  @param base VMAP destination data
--     *  @param numRead Number of float's to be read
--     *  @param idx Absolute index of the first vertex
--     *  @param data Value of the VMAP to be assigned - read numRead
--     *    floats from this array.
--    */
-+    /// Assign a value from a VMAP to a vertex and all vertices attached to it.
-+    /// @param base VMAP destination data
-+    /// @param numRead Number of float's to be read
-+    /// @param idx Absolute index of the first vertex
-+    /// @param data Value of the VMAP to be assigned - read numRead
-+    ///        floats from this array.
-     void DoRecursiveVMAPAssignment(VMapEntry *base, unsigned int numRead,
-             unsigned int idx, float *data);
- 
-     // -------------------------------------------------------------------
--    /** Compute normal vectors for a mesh
--     *  @param mesh Input mesh
--     *  @param smoothingGroups Smoothing-groups-per-face array
--     *  @param surface Surface for the mesh
--    */
-+    /// Compute normal vectors for a mesh
-+    /// @param mesh Input mesh
-+    /// @param smoothingGroups Smoothing-groups-per-face array
-+    /// @param surface Surface for the mesh
-     void ComputeNormals(aiMesh *mesh, const std::vector<unsigned int> &smoothingGroups,
-             const LWO::Surface &surface);
- 
-     // -------------------------------------------------------------------
--    /** Setup a new texture after the corresponding chunk was
--     *  encountered in the file.
--     *  @param list Texture list
--     *  @param size Maximum number of bytes to be read
--     *  @return Pointer to new texture
--    */
--    LWO::Texture *SetupNewTextureLWOB(LWO::TextureList &list,
--            unsigned int size);
-+    /// Setup a new texture after the corresponding chunk was encountered in the file.
-+    /// @param list Texture list
-+    /// @param size Maximum number of bytes to be read
-+    /// @return Pointer to new texture
-+    LWO::Texture *SetupNewTextureLWOB(LWO::TextureList &list, unsigned int size);
- 
- private:
-     /// true if the file is a LWO2 file
-@@ -453,24 +400,24 @@ inline uint8_t LWOImporter::GetU1() {
- 
- // ------------------------------------------------------------------------------------------------
- inline int LWOImporter::ReadVSizedIntLWO2(uint8_t *&inout) {
-+    // A variable-sized index is 2 bytes long, or 4 bytes when the first byte
-+    // is 0xFF. Guard every byte read against the end of the file buffer so a
-+    // truncated or malformed chunk cannot trigger an out-of-bounds read.
-+    auto readByte = [&]() -> int {
-+        if (inout >= mFileBufferEnd) {
-+            throw DeadlyImportError("LWO2: Unexpected end of file while reading a variable-sized index");
-+        }
-+        return *inout++;
-+    };
-+
-     int i;
--    int c = *inout;
--    inout++;
--    if (c != 0xFF) {
-+    if (int c = readByte(); c != 0xFF) {
-         i = c << 8;
--        c = *inout;
--        inout++;
--        i |= c;
-+        i |= readByte();
-     } else {
--        c = *inout;
--        inout++;
--        i = c << 16;
--        c = *inout;
--        inout++;
--        i |= c << 8;
--        c = *inout;
--        inout++;
--        i |= c;
-+        i = readByte() << 16;
-+        i |= readByte() << 8;
-+        i |= readByte();
-     }
-     return i;
- }

diff --git a/CVE-2026-19969.patch b/CVE-2026-19969.patch
deleted file mode 100644
index fff7ec5..0000000
--- a/CVE-2026-19969.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/MDL/MDLLoader.cpp assimp-6.0.5-new/code/AssetLib/MDL/MDLLoader.cpp
---- assimp-6.0.5/code/AssetLib/MDL/MDLLoader.cpp	2026-10-18 14:10:13.430332824 +0200
-+++ assimp-6.0.5-new/code/AssetLib/MDL/MDLLoader.cpp	2026-10-18 14:10:13.977402685 +0200
-@@ -1940,12 +1940,13 @@ void MDLImporter::GenerateOutputMeshes_3
-                 }
-                 pcMesh->mBones = new aiBone *[pcMesh->mNumBones];
-                 iCurrent = 0;
-+                unsigned int iOutBone = 0;
-                 for (std::vector<std::vector<unsigned int>>::const_iterator k = aaiVWeightList.begin(); k != aaiVWeightList.end(); ++k, ++iCurrent) {
-                     if ((*k).empty())
-                         continue;
- 
-                     // seems we'll need this node
--                    aiBone *pcBone = pcMesh->mBones[iCurrent] = new aiBone();
-+                    std::unique_ptr<aiBone> pcBone = std::make_unique<aiBone>();
-                     pcBone->mName = aiString(shared.apcOutBones[iCurrent]->mName);
-                     pcBone->mOffsetMatrix = shared.apcOutBones[iCurrent]->mOffsetMatrix;
- 
-@@ -1957,6 +1958,7 @@ void MDLImporter::GenerateOutputMeshes_3
-                         pcBone->mWeights[weight].mVertexId = (*k)[weight];
-                         pcBone->mWeights[weight].mWeight = 1.0f;
-                     }
-+                    pcMesh->mBones[iOutBone++] = pcBone.release();
-                 }
-             }
-             // add the mesh to the list of output meshes

diff --git a/CVE-2026-19999.patch b/CVE-2026-19999.patch
deleted file mode 100644
index ba8dfbe..0000000
--- a/CVE-2026-19999.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/MDL/MDLLoader.cpp assimp-6.0.5-new/code/AssetLib/MDL/MDLLoader.cpp
---- assimp-6.0.5/code/AssetLib/MDL/MDLLoader.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/MDL/MDLLoader.cpp	2026-10-18 14:10:13.157933617 +0200
-@@ -1685,6 +1685,10 @@ void MDLImporter::ParseBoneTrafoKeys_3DG
-             // skip all frames vertices. We can't support them
-             const MDL::BoneTransform_MDL7 *pcBoneTransforms = (const MDL::BoneTransform_MDL7 *)(((const char *)frame.pcFrame) + pcHeader->frame_stc_size +
-                                                                                                 frame.pcFrame->vertices_count * pcHeader->framevertex_stc_size);
-+            // Confirm that the bone transformation matrices are within the file.
-+            const size_t boneTransformSpan = sizeof(MDL::BoneTransform_MDL7) +
-+                                             static_cast<size_t>(frame.pcFrame->transmatrix_count - 1u) * pcHeader->bonetrans_stc_size;
-+            VALIDATE_FILE_SIZE(reinterpret_cast<const char *>(pcBoneTransforms) + boneTransformSpan);
- 
-             // read all transformation matrices
-             for (unsigned int iTrafo = 0; iTrafo < frame.pcFrame->transmatrix_count; ++iTrafo) {

diff --git a/assimp-docs.patch b/assimp-docs.patch
index 2c0a9c6..66b4a65 100644
--- a/assimp-docs.patch
+++ b/assimp-docs.patch
@@ -1,6 +1,6 @@
-diff -rupN --no-dereference assimp-6.0.5/doc/CMakeLists.txt assimp-6.0.5-new/doc/CMakeLists.txt
---- assimp-6.0.5/doc/CMakeLists.txt	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/doc/CMakeLists.txt	2026-10-18 14:10:12.039911333 +0200
+diff -rupN --no-dereference assimp-6.0.6/doc/CMakeLists.txt assimp-6.0.6-new/doc/CMakeLists.txt
+--- assimp-6.0.6/doc/CMakeLists.txt	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/doc/CMakeLists.txt	2026-11-13 11:46:44.588196645 +0100
 @@ -33,9 +33,9 @@ if( DEFINED CMAKE_INSTALL_DOCDIR )
          DESTINATION ${CMAKE_INSTALL_DOCDIR}
      )
@@ -14,9 +14,9 @@ diff -rupN --no-dereference assimp-6.0.5/doc/CMakeLists.txt assimp-6.0.5-new/doc
          DESTINATION ${CMAKE_INSTALL_DOCDIR}/${HTML_OUTPUT}
      )
  endif()
-diff -rupN --no-dereference assimp-6.0.5/doc/Doxyfile.in assimp-6.0.5-new/doc/Doxyfile.in
---- assimp-6.0.5/doc/Doxyfile.in	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/doc/Doxyfile.in	2026-10-18 14:10:12.040300961 +0200
+diff -rupN --no-dereference assimp-6.0.6/doc/Doxyfile.in assimp-6.0.6-new/doc/Doxyfile.in
+--- assimp-6.0.6/doc/Doxyfile.in	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/doc/Doxyfile.in	2026-11-13 11:46:44.588460289 +0100
 @@ -952,7 +952,7 @@ RECURSIVE              = NO
  # Note that relative paths are relative to the directory from which doxygen is
  # run.

diff --git a/assimp-nozlib.patch b/assimp-nozlib.patch
index 47b7c9e..7f9c759 100644
--- a/assimp-nozlib.patch
+++ b/assimp-nozlib.patch
@@ -1,6 +1,6 @@
-diff -rupN --no-dereference assimp-6.0.5/contrib/zlib/CMakeLists.txt assimp-6.0.5-new/contrib/zlib/CMakeLists.txt
---- assimp-6.0.5/contrib/zlib/CMakeLists.txt	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/contrib/zlib/CMakeLists.txt	2026-10-18 14:10:11.754329193 +0200
+diff -rupN --no-dereference assimp-6.0.6/contrib/zlib/CMakeLists.txt assimp-6.0.6-new/contrib/zlib/CMakeLists.txt
+--- assimp-6.0.6/contrib/zlib/CMakeLists.txt	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/contrib/zlib/CMakeLists.txt	2026-11-13 11:46:44.297473133 +0100
 @@ -196,7 +196,7 @@ if(MINGW)
      set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
  endif(MINGW)

diff --git a/assimp-pythonpath.patch b/assimp-pythonpath.patch
index 216a5ba..3f4232c 100644
--- a/assimp-pythonpath.patch
+++ b/assimp-pythonpath.patch
@@ -1,7 +1,7 @@
-diff -rupN --no-dereference assimp-6.0.5/port/PyAssimp/pyassimp/helper.py assimp-6.0.5-new/port/PyAssimp/pyassimp/helper.py
---- assimp-6.0.5/port/PyAssimp/pyassimp/helper.py	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/port/PyAssimp/pyassimp/helper.py	2026-10-18 14:10:11.484924611 +0200
-@@ -29,6 +29,7 @@ additional_dirs, ext_whitelist = [],[]
+diff -rupN --no-dereference assimp-6.0.6/port/PyAssimp/pyassimp/helper.py assimp-6.0.6-new/port/PyAssimp/pyassimp/helper.py
+--- assimp-6.0.6/port/PyAssimp/pyassimp/helper.py	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/port/PyAssimp/pyassimp/helper.py	2026-11-13 11:46:44.004835733 +0100
+@@ -22,6 +22,7 @@ additional_dirs, ext_whitelist = [],[]
  # depending on the platform we're running on.
  if os.name=='posix':
      additional_dirs.append('./')
@@ -9,7 +9,7 @@ diff -rupN --no-dereference assimp-6.0.5/port/PyAssimp/pyassimp/helper.py assimp
      additional_dirs.append('/usr/lib/')
      additional_dirs.append('/usr/lib/x86_64-linux-gnu/')
      additional_dirs.append('/usr/lib/aarch64-linux-gnu/')
-@@ -54,6 +55,7 @@ if os.name=='posix':
+@@ -38,6 +39,7 @@ if os.name=='posix':
      # currently there's always a symlink called
      # libassimp.so in /usr/local/lib.
      ext_whitelist.append('.so')

diff --git a/assimp-tests.patch b/assimp-tests.patch
index 6c84265..7624338 100644
--- a/assimp-tests.patch
+++ b/assimp-tests.patch
@@ -1,7 +1,7 @@
-diff -rupN --no-dereference assimp-6.0.5/CMakeLists.txt assimp-6.0.5-new/CMakeLists.txt
---- assimp-6.0.5/CMakeLists.txt	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/CMakeLists.txt	2026-10-18 14:10:12.329929160 +0200
-@@ -823,6 +823,7 @@ IF ( ASSIMP_BUILD_SAMPLES )
+diff -rupN --no-dereference assimp-6.0.6/CMakeLists.txt assimp-6.0.6-new/CMakeLists.txt
+--- assimp-6.0.6/CMakeLists.txt	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/CMakeLists.txt	2026-11-13 11:46:44.879559045 +0100
+@@ -843,6 +843,7 @@ IF ( ASSIMP_BUILD_SAMPLES )
  ENDIF ()
  
  IF ( ASSIMP_BUILD_TESTS )
@@ -9,9 +9,9 @@ diff -rupN --no-dereference assimp-6.0.5/CMakeLists.txt assimp-6.0.5-new/CMakeLi
    ADD_SUBDIRECTORY( test/ )
  ENDIF ()
  
-diff -rupN --no-dereference assimp-6.0.5/test/CMakeLists.txt assimp-6.0.5-new/test/CMakeLists.txt
---- assimp-6.0.5/test/CMakeLists.txt	2026-10-18 14:10:11.481109064 +0200
-+++ assimp-6.0.5-new/test/CMakeLists.txt	2026-10-18 14:10:12.330782766 +0200
+diff -rupN --no-dereference assimp-6.0.6/test/CMakeLists.txt assimp-6.0.6-new/test/CMakeLists.txt
+--- assimp-6.0.6/test/CMakeLists.txt	2026-11-13 11:46:43.999458527 +0100
++++ assimp-6.0.6-new/test/CMakeLists.txt	2026-11-13 11:46:44.880061370 +0100
 @@ -36,6 +36,7 @@
  #
  #----------------------------------------------------------------------
@@ -20,9 +20,9 @@ diff -rupN --no-dereference assimp-6.0.5/test/CMakeLists.txt assimp-6.0.5-new/te
  
  INCLUDE_DIRECTORIES(
      ${Assimp_SOURCE_DIR}/test/unit
-@@ -283,4 +284,4 @@ target_link_libraries( unit assimp ${pla
- 
- add_subdirectory(headercheck)
+@@ -296,4 +297,4 @@ if(ASSIMP_INSTALL_TESTS)
+   install(DIRECTORY models-nonbsd/ DESTINATION ${CMAKE_INSTALL_DATADIR}/assimp/models-nonbsd)
+ endif()
  
 -add_test( unittests unit )
 +gtest_discover_tests(unit)

diff --git a/assimp-unbundle.patch b/assimp-unbundle.patch
index 7a3f094..203ae92 100644
--- a/assimp-unbundle.patch
+++ b/assimp-unbundle.patch
@@ -1,6 +1,6 @@
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/Blender/BlenderTessellator.h assimp-6.0.5-new/code/AssetLib/Blender/BlenderTessellator.h
---- assimp-6.0.5/code/AssetLib/Blender/BlenderTessellator.h	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/Blender/BlenderTessellator.h	2026-10-18 14:10:11.201783363 +0200
+diff -rupN --no-dereference assimp-6.0.6/code/AssetLib/Blender/BlenderTessellator.h assimp-6.0.6-new/code/AssetLib/Blender/BlenderTessellator.h
+--- assimp-6.0.6/code/AssetLib/Blender/BlenderTessellator.h	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/code/AssetLib/Blender/BlenderTessellator.h	2026-11-13 11:46:43.701098650 +0100
 @@ -143,7 +143,7 @@ namespace Assimp
  
  #if ASSIMP_BLEND_WITH_POLY_2_TRI
@@ -10,9 +10,9 @@ diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/Blender/BlenderTessellato
  
  namespace Assimp
  {
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/IFC/IFCGeometry.cpp assimp-6.0.5-new/code/AssetLib/IFC/IFCGeometry.cpp
---- assimp-6.0.5/code/AssetLib/IFC/IFCGeometry.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/IFC/IFCGeometry.cpp	2026-10-18 14:10:11.202149707 +0200
+diff -rupN --no-dereference assimp-6.0.6/code/AssetLib/IFC/IFCGeometry.cpp assimp-6.0.6-new/code/AssetLib/IFC/IFCGeometry.cpp
+--- assimp-6.0.6/code/AssetLib/IFC/IFCGeometry.cpp	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/code/AssetLib/IFC/IFCGeometry.cpp	2026-11-13 11:46:43.701402776 +0100
 @@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  #include "IFCUtil.h"
  #include "Common/PolyTools.h"
@@ -22,9 +22,9 @@ diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/IFC/IFCGeometry.cpp assim
  #include "contrib/clipper/clipper.hpp"
  
  #include <iterator>
-diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/IFC/IFCOpenings.cpp assimp-6.0.5-new/code/AssetLib/IFC/IFCOpenings.cpp
---- assimp-6.0.5/code/AssetLib/IFC/IFCOpenings.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/AssetLib/IFC/IFCOpenings.cpp	2026-10-18 14:10:11.202458259 +0200
+diff -rupN --no-dereference assimp-6.0.6/code/AssetLib/IFC/IFCOpenings.cpp assimp-6.0.6-new/code/AssetLib/IFC/IFCOpenings.cpp
+--- assimp-6.0.6/code/AssetLib/IFC/IFCOpenings.cpp	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/code/AssetLib/IFC/IFCOpenings.cpp	2026-11-13 11:46:43.701711969 +0100
 @@ -47,7 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  #include "IFCUtil.h"
  #include "Common/PolyTools.h"
@@ -34,9 +34,9 @@ diff -rupN --no-dereference assimp-6.0.5/code/AssetLib/IFC/IFCOpenings.cpp assim
  #include "contrib/clipper/clipper.hpp"
  
  #include <deque>
-diff -rupN --no-dereference assimp-6.0.5/code/CMakeLists.txt assimp-6.0.5-new/code/CMakeLists.txt
---- assimp-6.0.5/code/CMakeLists.txt	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/CMakeLists.txt	2026-10-18 14:10:11.202797329 +0200
+diff -rupN --no-dereference assimp-6.0.6/code/CMakeLists.txt assimp-6.0.6-new/code/CMakeLists.txt
+--- assimp-6.0.6/code/CMakeLists.txt	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/code/CMakeLists.txt	2026-11-13 11:46:43.702032894 +0100
 @@ -1117,13 +1117,7 @@ IF(ASSIMP_HUNTER_ENABLED)
    hunter_add_package(pugixml)
    find_package(pugixml CONFIG REQUIRED)
@@ -134,7 +134,7 @@ diff -rupN --no-dereference assimp-6.0.5/code/CMakeLists.txt assimp-6.0.5-new/co
  ENDIF()
  
  # VC2010 fixes
-@@ -1482,7 +1473,6 @@ IF(ASSIMP_HUNTER_ENABLED)
+@@ -1485,7 +1476,6 @@ IF(ASSIMP_HUNTER_ENABLED)
    TARGET_LINK_LIBRARIES(assimp
        PUBLIC
        openddlparser::openddl_parser
@@ -142,7 +142,7 @@ diff -rupN --no-dereference assimp-6.0.5/code/CMakeLists.txt assimp-6.0.5-new/co
        ZLIB::zlib
        RapidJSON::rapidjson
        utf8cpp
-@@ -1501,9 +1491,16 @@ ELSE()
+@@ -1504,9 +1494,16 @@ ELSE()
    if (ASSIMP_BUILD_DRACO)
      target_link_libraries(assimp ${draco_LIBRARIES})
    endif()
@@ -162,9 +162,9 @@ diff -rupN --no-dereference assimp-6.0.5/code/CMakeLists.txt assimp-6.0.5-new/co
  ENDIF()
  
  if(ASSIMP_ANDROID_JNIIOSYSTEM)
-diff -rupN --no-dereference assimp-6.0.5/code/PostProcessing/TriangulateProcess.cpp assimp-6.0.5-new/code/PostProcessing/TriangulateProcess.cpp
---- assimp-6.0.5/code/PostProcessing/TriangulateProcess.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/code/PostProcessing/TriangulateProcess.cpp	2026-10-18 14:10:11.203149465 +0200
+diff -rupN --no-dereference assimp-6.0.6/code/PostProcessing/TriangulateProcess.cpp assimp-6.0.6-new/code/PostProcessing/TriangulateProcess.cpp
+--- assimp-6.0.6/code/PostProcessing/TriangulateProcess.cpp	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/code/PostProcessing/TriangulateProcess.cpp	2026-11-13 11:46:43.702495617 +0100
 @@ -62,7 +62,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  #include "PostProcessing/TriangulateProcess.h"
  #include "PostProcessing/ProcessHelper.h"
@@ -174,9 +174,9 @@ diff -rupN --no-dereference assimp-6.0.5/code/PostProcessing/TriangulateProcess.
  
  #include <memory>
  #include <cstdint>
-diff -rupN --no-dereference assimp-6.0.5/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp assimp-6.0.5-new/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp
---- assimp-6.0.5/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp	2026-10-18 14:10:11.203418661 +0200
+diff -rupN --no-dereference assimp-6.0.6/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp assimp-6.0.6-new/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp
+--- assimp-6.0.6/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/samples/SimpleTexturedOpenGL/SimpleTexturedOpenGL/src/model_loading.cpp	2026-11-13 11:46:43.702755596 +0100
 @@ -24,7 +24,7 @@
  #endif // _MSC_VER
  
@@ -186,9 +186,9 @@ diff -rupN --no-dereference assimp-6.0.5/samples/SimpleTexturedOpenGL/SimpleText
  
  #ifdef _MSC_VER
  #pragma warning(default: 4100) // Enable warning 'unreferenced formal parameter'
-diff -rupN --no-dereference assimp-6.0.5/test/CMakeLists.txt assimp-6.0.5-new/test/CMakeLists.txt
---- assimp-6.0.5/test/CMakeLists.txt	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/test/CMakeLists.txt	2026-10-18 14:10:11.203715595 +0200
+diff -rupN --no-dereference assimp-6.0.6/test/CMakeLists.txt assimp-6.0.6-new/test/CMakeLists.txt
+--- assimp-6.0.6/test/CMakeLists.txt	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/test/CMakeLists.txt	2026-11-13 11:46:43.702961537 +0100
 @@ -43,14 +43,6 @@ INCLUDE_DIRECTORIES(
      ${Assimp_SOURCE_DIR}/code
  )
@@ -204,7 +204,7 @@ diff -rupN --no-dereference assimp-6.0.5/test/CMakeLists.txt assimp-6.0.5-new/te
  if (MSVC)
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
  endif()
-@@ -250,26 +242,11 @@ add_executable( unit
+@@ -249,26 +241,11 @@ add_executable( unit
      ${TOOLS}
  )
  
@@ -234,10 +234,10 @@ diff -rupN --no-dereference assimp-6.0.5/test/CMakeLists.txt assimp-6.0.5-new/te
  
  IF (ASSIMP_BUILD_DRACO)
    ADD_DEFINITIONS( -DASSIMP_ENABLE_DRACO )
-diff -rupN --no-dereference assimp-6.0.5/test/unit/utglTF2ImportExport.cpp assimp-6.0.5-new/test/unit/utglTF2ImportExport.cpp
---- assimp-6.0.5/test/unit/utglTF2ImportExport.cpp	2026-04-30 11:15:09.000000000 +0200
-+++ assimp-6.0.5-new/test/unit/utglTF2ImportExport.cpp	2026-10-18 14:10:11.204020915 +0200
-@@ -987,7 +987,7 @@ namespace {
+diff -rupN --no-dereference assimp-6.0.6/test/unit/utglTF2ImportExport.cpp assimp-6.0.6-new/test/unit/utglTF2ImportExport.cpp
+--- assimp-6.0.6/test/unit/utglTF2ImportExport.cpp	2026-11-09 21:32:25.000000000 +0100
++++ assimp-6.0.6-new/test/unit/utglTF2ImportExport.cpp	2026-11-13 11:46:43.703167505 +0100
+@@ -1159,7 +1159,7 @@ namespace {
              rapidjson::Document schemaDoc;
              schemaDoc.Parse(R"==({"properties":{"scene" : { "type" : "integer" }}, "required": [ "scene" ]})==");
              EXPECT_FALSE(schemaDoc.HasParseError());

diff --git a/assimp.spec b/assimp.spec
index 884f55c..d45fc49 100644
--- a/assimp.spec
+++ b/assimp.spec
@@ -1,8 +1,8 @@
 %define soversion 6
 
 Name:           assimp
-Version:        6.0.5
-Release:        6%{?dist}
+Version:        6.0.6
+Release:        1%{?dist}
 Summary:        Library to import various 3D model formats into applications
 
 # Assimp is BSD
@@ -33,20 +33,8 @@ Patch2:         %{name}-nozlib.patch
 Patch3:         %{name}-docs.patch
 # Enable ctest
 Patch4:         %{name}-tests.patch
-# https://github.com/assimp/assimp/commit/eb84eec580d3f4ba2f0fd87409b7d0744620f11e
-Patch5:         CVE-2026-14610.patch
-# https://github.com/assimp/assimp/commit/c39d8c15dbbe03174af61d8eedbbf90120f4eb9f
-Patch6:         CVE-2026-19968.patch
-# https://github.com/assimp/assimp/commit/50d767984e78d51b53e2020fdf0967fd624bc377
-Patch7:         CVE-2026-19999.patch
-# https://github.com/DerDoktorX/assimp/commit/a07a25d9a348152f2eb7f3359909a2cb9d0b2702
-Patch8:         CVE-2026-14604.patch
-# https://github.com/assimp/assimp/pull/6869
-Patch9:         CVE-2025-15666.patch
-# https://github.com/assimp/assimp/pull/6870
-Patch10:        CVE-2026-19969.patch
 # https://github.com/assimp/assimp/pull/6885
-Patch11:        CVE-2026-19967.patch
+Patch5:        CVE-2026-19967.patch
 
 
 BuildRequires:  boost-devel
@@ -192,6 +180,9 @@ exclude="utMD5Importer.importBoarMan|utMD5Importer.importBob|utMD2Importer.impor
 
 
 %changelog
+* Tue Nov 10 2026 Sandro Mani <manisandro@gmail.com> - 6.0.6-1
+- Update to 6.0.6
+
 * Sun Oct 18 2026 Sandro Mani <manisandro@gmail.com> - 6.0.5-6
 - Backport fixes for CVE-2026-19967,  CVE-2026-19969
 

diff --git a/sources b/sources
index fb8c4d7..b3d4fe3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (assimp-6.0.5-free.tar.xz) = b6c1c0dac14749ef8da4d363d486fd6f7477384dc9af2d84a7883f99196c863b8518aa72b5e358f4ad6e1b37076accbb4a45446dbda00d762a696db7292dd2cf
+SHA512 (assimp-6.0.6-free.tar.xz) = 765606c0a34ea8a954a31359b25dabff95d616dbe1b203e9f928379fcf0c61d8bc966f680d17cf54069161990a03a86e15e1d8643810447e21e75c8dd3108144

                 reply	other threads:[~2026-11-13 10:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179456713469.1.7615682223611962887.rpms-assimp-788c77fffe44@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox