[dev] Re: CVS HEAD crash in tar routine

Peter Arien peter.arien@cc.kuleuven.ac.be
Thu, 12 Sep 2002 00:45:10 +0200


Eric Rostetter wrote:
> The message recently sent by Peter Arien ("backport to horde RELENG of
> initial_application") contains a tar file attachment that is crashing
> my CVS HEAD IMP. The error generated is:
> 
> Sep 11 13:30:00 host httpsd: PHP Fatal error:  pack type a: not enough input,
> need 8, have 0 in /path/horde/lib/MIME/Viewer/tgz.php on line 139
> 
> Result is a blank message frame.

How did it come through the first time I sent it (that was
from a linux machine with mozilla)?

If I send that same .tgz file from windows, it is sent as

Content-Type: application/x-compressed;
  name="initapp.tgz"

and IMP (HEAD) tells me:

'This does not appear to be a valid zip file.'

which is correct...?

If I rename it to .tar.gz, it is sent as

Content-Type: application/x-gzip;
  name="initapp.tar.gz"

and the content-table of the tar file is displayed correctly.

-- 
Peter