Debian Patches

Status for perl-tk/1:804.036+dfsg1-2

Patch Description Author Forwarded Bugs Origin Last update
20-pngsuite-lic.patch Fix pngsuite licence see bug for details (Closes: #615810)
===================================================================
no
60-man-name.patch Fix Lintian "manpage-has-bad-whatis-entry"
Each thing listed must not contain spaces; so use underscore instead.
no
70-spellings.patch Fix spelling errors in comments and man pages no
80-Fix-STRLEN-vs-int-pointer-confusion-in-Tcl_GetByteAr.patch [PATCH] Fix STRLEN vs int pointer confusion in Tcl_GetByteArrayFromObj()

Perl 5.37.2, more precisely commit

https://github.com/Perl/perl5/commit/1ef9039bccbfe64f47f201b6cfb7d6d23e0b08a7

changed the implementation of SvPV() et al., breaking t/balloon.t,
t/canvas2.t and t/photo.t on big-endian 64-bit architectures such as
ppc64 and s390x because StringMatchGIF() no longer recognized GIF files.

This is because Tcl_GetByteArrayFromObj() was calling SvPV() with an int
pointer instead of a correct STRLEN pointer, and the new implementation
is more sensitive to this: it assigns the pointers as-is, resulting in
the int pointer pointing at the wrong end of the 64-bit length.

Other functions taking a length pointer, at least Tcl_GetStringFromObj()
already seem to do things correctly, so presumably this is not a
systematic issue.
Niko Tyni <ntyni@debian.org> no 2024-01-11

All known versions for source package 'perl-tk'

Links