rfc.zlib doesn't use checksum?

Jens Thiele <[email protected]> Wed, 19 Mar 2025 11:30:07 +0100
Newsgroups gmane.lisp.scheme.gauche
Message-ID <[email protected]>
Hi,

Looks like the rfc.zlib module doesn't use the checksum?

Simulating corruption using tr:

$ echo hello > hello; zopfli -c --zlib hello|tr H I|pigz -d
lello
pigz: skipping: <stdin>: corrupted -- adler32 mismatch

$ echo hello > hello; zopfli -c --zlib hello|tr H I \
|gosh -urfc.zlib -E \
'display (inflate-string (port->string (current-input-port)))'
lello

jens