Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!mcvax!enea!tut!mta
From: mta@tut.fi (Markku J{rvinen)
Newsgroups: comp.sources.bugs
Subject: Re: Some problems with the Crypt Breaker's Workbench
Message-ID: <1559@korppi.tut.fi>
Date: Tue, 30-Jun-87 11:38:16 EDT
Article-I.D.: korppi.1559
Posted: Tue Jun 30 11:38:16 1987
Date-Received: Thu, 2-Jul-87 03:01:26 EDT
References: <428@unisoft.UUCP>
Organization: Tampere University of Technology, Finland
Lines: 26

in article <428@unisoft.UUCP>, jef@unisoft.uucp (Jef Poskanzer) says:
> 
> I unpacked it and compiled it on a VAX running 4.3BSD.  No problems.
> I ran through the testing procedure, and it works pretty well.  (And
> is a lot of fun, too!)  But:
> 
> -- When I try to complete a decryption by running the ciphertext through
> zeecode, it gets through a few lines and then exits.  No core, it just
> exits.
>

There is one little bug in zeecode.c which makes it act like you
described.
In the function doblock(p) there is described a variable 'char c;'
which should be 'int c;', that's because the value which 'getchar'
returns is placed in it (getchar returns int, EOF ((int)-1)
when _End_Of_File_ is reached), thus when there is a char which
decimal value is 255 (read it to char and voila, it's -1==EOF)
zeecode stops reading.

I've tried CBW using files supplied and had no other problems.
It really does the work for me.

		Markku Jarvinen, last `a' with two dots over it
			mta@tut.fi  (internet)
			tut!mta     (UUCP)