231b5fd
diff -rupN kio-extras-19.12.3/thumbnail/imagecreator.cpp kio-extras-19.12.3-new/thumbnail/imagecreator.cpp
231b5fd
--- kio-extras-19.12.3/thumbnail/imagecreator.cpp	2020-03-03 20:33:29.000000000 +0100
231b5fd
+++ kio-extras-19.12.3-new/thumbnail/imagecreator.cpp	2020-04-17 03:13:31.630526008 +0200
231b5fd
@@ -34,6 +34,9 @@ bool ImageCreator::create(const QString
231b5fd
 {
231b5fd
     // create image preview
231b5fd
     QImageReader ir(path);
231b5fd
+    QSize sz = ir.size();
231b5fd
+    if(sz.width() > 10240 || sz.height() > 10240)
231b5fd
+        return false;
231b5fd
     ir.setDecideFormatFromContent(true);
231b5fd
     img = ir.read();
231b5fd
     if (img.isNull())