Debian Patches

Status for kf6-kimageformats/6.6.0-2

Patch Description Author Forwarded Bugs Origin Last update
fix-endianess-bug-in-pcx-reader.patch Fix endianness bug in PCX reader on big endian architectures When reading from a sequential device, the peekHeader() method in
the PCX readers reads the header its defined little endian into
arch-specific endianness for multibyte types.
.
Being a "peek" method, it then it tries to push back the bytes into
the device after reading for its next use, but it doesn’t convert
multibyte types correctly from arch-specifice endianness to the
initial little endian format.
.
Subsequent reading of the data from the device will thus lead to
incorrect values for multibyte types on the next use.
.
This patch reuses the same technique as the TGA reader to read the
whole header as bytes before deserializing it, so that the bytes
can be pushed back into the sequential device in the same order.
Aurélien COUDERC <coucouf@debian.org> no 2024-09-22

All known versions for source package 'kf6-kimageformats'

Links