Img package 1.4.13 broken

Liste des GroupesRevenir à cl tcl 
Sujet : Img package 1.4.13 broken
De : hgiese (at) *nospam* ratiosoft.com (Helmut Giese)
Groupes : comp.lang.tcl
Date : 20. Nov 2024, 21:36:34
Autres entêtes
Organisation : ratiosoft
Message-ID : <h6hsjjp61efhdlb83t2jgv674d6eu81q6b@4ax.com>
User-Agent : Forte Free Agent 1.93/32.576 English (American)
Hello out there,
the Img package distributed with the latest versions of Tcl contain a
bug - well, not really 'Img' itself but rather the zlib DLL it uses.

Here is what happened:
When trying to run the second example from

https://wiki.tcl-lang.org/page/CollapsableFrame+%2DA+Toggle+Resized+Labelled+Frame+Container
I got the error
IDAT: invalid distance too far back
while executing
image create photo iconeClose -format png -data $data
...
with data being defined as
        set data
"iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAAHeSjtLAAAABGdBTUEAAYagMei\
WXwAAAKBJREFUCJmlUCESxCAMXJiIPqfyJOJEn8WTIpGRJxEInoKoOAGTo6X05uZ2EGw2ySYxZS8ALIC\
coqmMcooATNlL/QEgAMyhkpbXFM1hDhYdSAs+3db1oaEYX8yBlOCIJpwqzvaK7bnZnOJCS//qcGcP7Wn\
HPl+Ei6nagt77MV1EDne8B3MQEVI+uij6e9FMmDWabjfDHwWX84xx45z7yeENMlJR1s8KWugAAAAASUV\
ORK5CYII="

I found a mention of this error in
https://mirror.netzwerge.de/openbsd/Changelogs/ChangeLog.62
Search for 'invalid distance' , 2nd occurrence.

There it is said that this error was introduced in zlib 1.2.2.2 and
fixed - I think - by this commit
CVSROOT: /cvs
Module name: src
Changes by: tb@cvs.openbsd.org 2022/03/25 04:58:39

It's long ago that I filed a bug and have forgotten how and where.
If you consider it a bug, too, I would be glad for a note how to
report it.
Helmut

Date Sujet#  Auteur
20 Nov 24 * Img package 1.4.13 broken3Helmut Giese
20 Nov 24 `* Re: Img package 1.4.13 broken2Paul Obermeier
22 Nov 24  `- Re: Img package 1.4.13 broken1Helmut Giese

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal