Bug#1118385: texlive-binaries: corner-case PDF image nondeterminism

Preuße, Hilmar <[email protected]> Mon, 18 May 2026 23:28:43 +0200
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <e7d5c240-88aa-4fd0-85c6-38c8cb71832b__32661.2864666217$1779139888$gmane$org@web.de>
Am 19.10.2025 um 04:57 schrieb Aaron M. Ucko:

Hi Adam,

> I have found that when a PNG image's row width does not correspond to a
> whole number of bytes, the low-order bits of the last byte in each
> uncompressed row can fluctuate between pdflatex runs, at least when
> libpng can perform SIMD-assisted decompression, yielding
> nondeterministic output even when arranging to supply predetermined
> timestamps.  (Moreover, this fluctuation can affect the length of the
> resulting compressed stream, slightly shifting the file position of
> subsequent content.)
> 

Note sure, if you are subscribed to that bug in the meantime and follow 
the discussion. Meanwhile it seems to be sure, that we look at a design 
flaw in the libpng library. Norbert has forwarded the issue description 
+ reproduction instructions to [1]. I'm subscribed to the discussion and 
will follow it.

Hilmar

[1] https://github.com/pnggroup/libpng/discussions/864
-- 
sigfault
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmoLhIsFAwAAAAAACgkQxiZYRqvgLIsw
Qg//dpa9udb7KDbgig1vHh3B55m07TaqXsA6e/U6j02275ukj2uS8LwpiPg5nwBuFGuXjHs8aWmd
1+X/fM//3DEt/Qe0Hhhiraw/X8AYhcaf3JK95qFQkwovlHwCnvCXz7fhoWTRIrPeVus4QUJ9i3m1
wvKBLHYYZiHf78vhSaDQVdPLolYMmEbtcS3H/DtqGHOhuVISYMTCq01dyaLUPc0QPwUCroKVrZOj
+YkflOkgyu0LmA/gDIIkSk+il4V1A5kpIfITR8/cul9gpu+Px+G7MB1BbEZJ4MQ6i9qLBeGX9RpC
SeYS+GHX4QGX4uMmuU3h30mN5NhJHvUasQ/za62J4iGjSSyG4pZLa5qHcyItGIMWRmjnu0ckYGIk
VbLPLaLn6qS38Oq5wAwOsYLPDSWNKVUagS6d0xMd8kkDbdZbVOrvujejU6Bf2qmOyZjKyPu7Pps2
0I7K7jHLTPMrW1zCRRVT6PQpqvrrkTff6CWUoS3PKz6YuTos7AVNgYJt6LCwh1blTSi34ji0X1a3
fyy5feQ9jz9v+7QpasgGxD92KMuQdfuu/vGJPxPvfyaZ+i+VBlZ+z1CfhUEZFZwKZh8ReO1W7DoA
RUm+S0j5TJ0JmRPsIbN/VLBalN0BPlOZrbCSuv/lnhDmw9SJUY1NpVYY/tAcQyxBBmDEqdDOtoyM
pPw=
=K1+M
-----END PGP SIGNATURE-----