4a751c4
--- kio-extras-22.08.0/thumbnail/imagecreator.cpp	2022-08-10 22:53:51.000000000 +0200
4a751c4
+++ kio-extras-22.08.0-new/thumbnail/imagecreator.cpp	2022-08-19 16:23:24.160033608 +0200
4a751c4
@@ -56,6 +56,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;
4a751c4
4a751c4
     /* The idea is to read the free ram and try to avoid OS trashing when the
4a751c4
      * image is too big: