Review Request: Fix crash on saving image to KoStore
"Sven Langkamp" <[email protected]>
| Newsgroups | gmane.comp.kde.devel.koffice |
|---|---|
| Message-ID | <[email protected]> |
----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://svn.reviewboard.kde.org/r/5806/ ----------------------------------------------------------- Review request for KOffice. Summary ------- The patch fixes a crash that happens with the oow_pic_in_tiff.odt test file. The problem is that the zip store isn't a normal qiodevice and it will crash in KoStore::seek as the stream is zero. The patch adds a temporary buffer for the QImageWriter before write the image to the device. Diffs ----- trunk/koffice/libs/flake/KoImageData_p.cpp 1193573 Diff: http://svn.reviewboard.kde.org/r/5806/diff Testing ------- Tested with oow_pic_in_tiff.odt Thanks, Sven _______________________________________________ koffice-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/koffice-devel