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

--- Comment #9 from Carl Schwan <c...@carlschwan.eu> ---
Git commit ce72f8b3edf53e3df3e5c8f6d59fd3cad9d50d11 by Carl Schwan, on behalf
of Stefan Brüns.
Committed on 23/03/2025 at 21:29.
Pushed by carlschwan into branch 'release/25.04'.

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
(cherry picked from commit a5b423d58133c46791cc53e6d67425366f94b266)

M  +1    -1    lib/decompressor.cpp

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to