gpg: fatal: zlib inflate problem

Cees van de Griend cees-list at griend.xs4all.nl
Sun Nov 8 19:18:21 CET 1998


[N.B.	It is not my habbit to post (private) email on a mailing list, 
	but Werner Koch asked me to do it.]
	
On Wed, Nov 04, 1998 at 09:29:28PM +0100, Werner Koch wrote:
> Cees van de Griend <cees-list at griend.xs4all.nl> writes:
> 
>> 
>> With large files and decrypt I got some errors. I noticed if I used
>> the 'no commpression option' (-z0), there were no errors. Only with 
>> z1 .. z9 were there errors. Also random data and gziped data (almost
> [...]
>> My system uses zlib 1.1.2.
> 
> There is a bug in zlib which is fixed in zlib 1.1.3 - I look forward
> to add some configure checks for a good zlib and put 1.13. into the
> distribution.
>
> Thanks for telling this the folks here,

Maybe the bug-report was too large, but it was a difficult bug to 
reproduce.

I just installed zlib 1.1.3 (and checked that it is loaded and not 
1.1.2) but the problems are the same.

The errors are with the file made with zlib 1.1.2 and read by 
zlib 1.1.3, also made with 1.1.3 and read by 1.1.3.

So, the bug is still there.

-----------------------------------------------------------
#!/bin/bash

if [ ! -f pge0112.txt ] ; then
    unzip pge0112.zip
fi    

  SIZE="5500 5600 5700 5800 5900 6000 6100 6200 6300 6400 6500"

for S in $SIZE ; do
    dd if=pge0112.txt of=text.$S.in bs=1000 count=$S
    
    gpg --output text.$S.gpg --remote-user cees \
    	--encrypt text.$S.in
    gpg --passphrase-fd 3 --output text.$S.out \
    	--decrypt text.$S.gpg 3< passphrase

    rm -f  text.$S.gpg
done
-----------------------------------------------------------
$ls -l text.*
-rw-r--r--   1 cees     users     5500000 Nov  5 00:04 text.5500.in
-rw-r--r--   1 cees     users     5500000 Nov  5 00:05 text.5500.out
-rw-r--r--   1 cees     users     5600000 Nov  5 00:05 text.5600.in
-rw-r--r--   1 cees     users     3588073 Nov  5 00:07 text.5600.out
-rw-r--r--   1 cees     users     5700000 Nov  5 00:07 text.5700.in
-rw-r--r--   1 cees     users     5700000 Nov  5 00:08 text.5700.out
-rw-r--r--   1 cees     users     5800000 Nov  5 00:08 text.5800.in
-rw-r--r--   1 cees     users     5800000 Nov  5 00:10 text.5800.out
-rw-r--r--   1 cees     users     5900000 Nov  5 00:10 text.5900.in
-rw-r--r--   1 cees     users     3588073 Nov  5 00:11 text.5900.out
-rw-r--r--   1 cees     users     6000000 Nov  5 00:11 text.6000.in
-rw-r--r--   1 cees     users     6000000 Nov  5 00:13 text.6000.out
-rw-r--r--   1 cees     users     6100000 Nov  5 00:13 text.6100.in
-rw-r--r--   1 cees     users     6100000 Nov  5 00:14 text.6100.out
-rw-r--r--   1 cees     users     6200000 Nov  5 00:15 text.6200.in
-rw-r--r--   1 cees     users     3588073 Nov  5 00:16 text.6200.out
-rw-r--r--   1 cees     users     6300000 Nov  5 00:16 text.6300.in
-rw-r--r--   1 cees     users     6300000 Nov  5 00:18 text.6300.out
-rw-r--r--   1 cees     users     6400000 Nov  5 00:18 text.6400.in
-rw-r--r--   1 cees     users     6400000 Nov  5 00:19 text.6400.out
-rw-r--r--   1 cees     users     6500000 Nov  5 00:19 text.6500.in
-rw-r--r--   1 cees     users     6500000 Nov  5 00:21 text.6500.out
-----------------------------------------------------------

> 
>   Werner
> 

Greetings,
Cees.
-- 
Send a mail to <cees-help at griend.xs4all.nl> for more information.
 
DabuQlu'DI' yISuv.
When threatened, fight.
       Mark Okrand, "Star Trek: The Klingon Way - A Warrier's Guide"




More information about the Gnupg-devel mailing list