[kdegraphics-mobipocket] [Bug 486853] Baloo file extractor crashes a dozen times for Mobipocket files

Stefan Brüns bugzilla_noreply at kde.org
Sat Mar 22 02:01:57 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=486853

--- Comment #7 from Stefan Brüns <stefan.bruens at rwth-aachen.de> ---
Git commit a5b423d58133c46791cc53e6d67425366f94b266 by Stefan Brüns.
Committed on 28/02/2025 at 23:07.
Pushed by bruns into branch 'master'.

Fix broken padding in BitReader

The overload taking a char* appends the \0 terminated string, i.e.
QByteArray::append("\x0...") is essentially a noop. This causes
out-of-bounds accesses, either causing asserts or reading invalid data.

See https://doc.qt.io/qt-6/qbytearray.html#append-3

SENTRY: OKULAR-AD
SENTRY: BALOO-33
SENTRY: BALOO-43Y

M  +1    -1    lib/decompressor.cpp

https://invent.kde.org/graphics/kdegraphics-mobipocket/-/commit/a5b423d58133c46791cc53e6d67425366f94b266

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list