Bug 52569 - base64 images in HTML make Writer freeze
Summary: base64 images in HTML make Writer freeze
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: Other All
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 51206 59837 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-27 05:59 UTC by ®om
Modified: 2014-06-28 18:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Scroll in this document for making libreoffice freeze (54.78 KB, application/vnd.oasis.opendocument.text)
2012-07-27 05:59 UTC, ®om
Details
test case webpage with base64-encoded image to copy (667 bytes, text/html)
2013-05-14 05:47 UTC, blendmaster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ®om 2012-07-27 05:59:50 UTC
Created attachment 64763 [details]
Scroll in this document for making libreoffice freeze

In the attachment, try to go to the last page or previous one : it is impossible, it freezes.

If you press F5, you see the "navigator" (navigateur in french), the "image13" has an url starting by "data:image/jpeg;base64". I think this kind of image is not handled correctly by libreoffice.
Comment 1 Hashem Masoud 2012-10-04 08:11:25 UTC
(In reply to comment #0)
Confirmed the freeze here:
Version 3.6.1.2 (Build ID: e29a214) Slackware Linux 13.37
Comment 2 Robert Roth 2013-02-05 08:25:26 UTC
*** Bug 59837 has been marked as a duplicate of this bug. ***
Comment 3 Robert Roth 2013-02-05 08:26:06 UTC
From duplicate bug 59837: Interestingly, the flat ODF file with the image in question is opened fine.
Comment 4 blendmaster 2013-05-14 05:47:50 UTC
Created attachment 79281 [details]
test case webpage with base64-encoded image to copy

I can reproduce this bug on Version 4.0.2.2 (Build ID: 400m0(Build:2)) using Ubuntu 13.04.

Libreoffice also freezes if HTML clipboard data containing base64 encoded images is pasted into a document. I've attached an html page with a small base64 encoded image to test this behavior.
Comment 5 bfoman (inactive) 2013-05-21 11:17:48 UTC
*** Bug 51206 has been marked as a duplicate of this bug. ***
Comment 6 Florian Reisinger 2014-06-28 18:03:40 UTC
Changed meta

No freeze with Version: 4.4.0.0.alpha0+
Build ID: bdd87b2acddb2e244569dcc8f228e270614dc59e
TinderBox: Win-x86@39, Branch:master, Time: 2014-06-23_00:37:24 but read error

Insertion works like a charm... (LibO 4.4 on Windows)

Plsease open a new bug (or search for an existing) regarding the read-error on base64 image loading.... Please 1 bug per report....
Thanks :)