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

--- Comment #19 from [email protected] ---
Thanks a lot for looking into this matter, Rob.

I hope this time, the bug will get tackled sooner. Unlike my original report
(bug 58895), which went unnoticed for over 4 months and in the meanwhile the
file from the download link had been automatically removed. ^^
(30 days no download)

I reuploaded the unchanged files to http://ul.to/er0yvxmb

The bug with the read error DOES exist in the official Pre-Release Version:
----
Version: 4.1.0.1
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155
OS: Windows 7, 64bit (but with the x86 executables, as the only ones available)
Language: German for both
----

The saved and broken png-Image (rename *.docx to *.zip and open \word\media\)
consists as before only of the first 8 bytes, a part of the png header, instead
of the 8034 bytes of the original png.

I padded the original png with zeros at the end to about 16KiB (i.e. all the
same logical files and sizes, but physical filesize is bigger.) and when the
changed document - removed/added a space somewhere - is saved, the picture gets
saved without the zeros at the end, i.e. the filesize is read/computed from the
png header before saving. ( http://ul.to/5kv96od7 ) Therefore, it's not the
physical file that is kept!


Tracking the pn RAM andng contents/datastructure i debugging the program step
by step should reveal, why only the first 8 bytes are saved. 

My guess for the bug:
Overwriting or not setting the stored file length or using/setting/computing
the wrong value. (including the one that is calculated from the png-header
informations)


I don't have enough time in the next weeks/months to setup the LibreOffice
development tools and look into the source code, but if you can provide me a
download link to the next binaries (english only would be OK), I can test it
again on my PC for sure.

-- 
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