[kdegraphics-mobipocket] [Bug 489275] Crash when extracting content from mobipocket file
Stefan Brüns
bugzilla_noreply at kde.org
Mon Jun 9 09:47:44 BST 2025
https://bugs.kde.org/show_bug.cgi?id=489275
--- Comment #6 from Stefan Brüns <stefan.bruens at rwth-aachen.de> ---
Git commit 439a01662e72102e114a46d168fbabbb4de04184 by Stefan Brüns.
Committed on 07/06/2025 at 15:19.
Pushed by bruns into branch 'master'.
Handle trailing data entries correctly
Text records may contain extra auxiliary data which should not be fed
to the decompressor.
The existence of such data is signalled by the `extraflags` header field,
and each set bit signals the corresponding extra data which will be
present in all text records.
The entries can be decoded (or removed) by reading the record from the
back. When an entry is present, its size will be at the very end of the
record, preceded by the actual data.
Related: bug 475975, bug 482420
M +0 -1 autotests/mobipockettest.cpp
M +62 -3 lib/mobipocket.cpp
https://invent.kde.org/graphics/kdegraphics-mobipocket/-/commit/439a01662e72102e114a46d168fbabbb4de04184
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list