vcl/source/filter/svm/SvmReader.cxx |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

New commits:
commit 233b1409f59292ac2ab51fa431149683c97065cf
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun May 8 15:37:08 2022 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sun May 8 17:45:27 2022 +0200

    drop special fuzzing path
    
    Change-Id: Ifa47253b1122f6f84f2c082b2f71b04451ec5162
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134026
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/vcl/source/filter/svm/SvmReader.cxx 
b/vcl/source/filter/svm/SvmReader.cxx
index bd69e7ece142..f02451ea36ff 100644
--- a/vcl/source/filter/svm/SvmReader.cxx
+++ b/vcl/source/filter/svm/SvmReader.cxx
@@ -22,7 +22,6 @@
 #include <tools/stream.hxx>
 #include <tools/vcompat.hxx>
 
-#include <unotools/configmgr.hxx>
 #include <vcl/filter/SvmReader.hxx>
 #include <vcl/TypeSerializer.hxx>
 #include <vcl/dibtools.hxx>
@@ -706,21 +705,8 @@ rtl::Reference<MetaAction> 
SvmReader::TextArrayHandler(const ImplMetaReadData* p
     }
 
     if (!aArray.empty())
-    {
-        static const bool bFuzzing = utl::ConfigManager::IsFuzzing();
-        if (bFuzzing)
-        {
-            for (size_t i = 0, nLen = aArray.size(); i < nLen; ++i)
-            {
-                if (aArray[i] < -4096 || aArray[i] > 4096)
-                {
-                    SAL_WARN("vcl.gdi", "suspicious dx of: " << aArray[i]);
-                    aArray[i] = 0;
-                }
-            }
-        }
         pAction->SetDXArray(std::move(aArray));
-    }
+
     return pAction;
 }
 

Reply via email to