Package: icoutils
Version: 0.32.3-6
Severity: normal
Tags: upstream patch
X-Debbugs-Cc: [email protected]
Forwarded: https://github.com/res2k/icoutils/issues/9
User: [email protected]
Usertags: toolchain
Control: affects -1 src:wine

Dear Maintainer,

icotool --create does not always produce the same .ico file from the
same input. When an image width is not a multiple of 8, it fills the
padding bits of the icon's transparency mask from memory past the end of
the pixel buffer, so their value depends on the memory layout of the run.

This makes src:wine unreproducible. Wine generates its .ico files from
SVG with icotool at build time. programs/winecfg/logo.ico is 194 pixels
wide, and the arm64 rebuild of wine 11.0~repack-2 on reproduce.debian.net
differs from the buildd binary in exactly one such padding byte in both
winecfg.exe files of libwine:

  https://reproduce.debian.net/arm64/api/v1/builds/560820

britney now blocks wine's migration with "Reproducibility regression on
arm64: libwine".

A minimal reproducing example, the analysis and a patch are in the upstream
report linked above. With that patch, icotool's output no longer depends
on the allocator, and valgrind reports no errors.

Thanks,
Boyuan Yang

Attachment: OpenPGP_0xC293E7B461825ACE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to