https://bugs.freedesktop.org/show_bug.cgi?id=74051

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #4 from Julien Nabet <[email protected]> ---
Thank you Christopher for your feedback.

Caolán/Michael: I noticed that in the file
vcl/source/filter/jpeg/JpegReader.cxx, if the 2 following checks are removed,
the image displays:
    236     sal_uInt64 nSize = aSize.Width();
    237     nSize *= aSize.Height();
    238 /*
    239     if (nSize > SAL_MAX_INT32 / 24)
    240         return NULL;
    241 */

    243     // Check if the bitmap is untypically large.
    244 /*
    245     if (nSize*(bGray?1:3) > MAX_BITMAP_BYTE_SIZE)
    246     {
    247         // Do not try to acquire resources for the large bitmap or to
    248         // read the bitmap into memory.
    249         return NULL;
    250     }
    251 */

(see
http://opengrok.libreoffice.org/xref/core/vcl/source/filter/jpeg/JpegReader.cxx#235)
The problem is, even once the image is loaded, each time I scroll, Writer
almost freezes and cpu is at 100%

Any idea?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to