[comp.sources.d] WARNING: POTENTIALLY DANGEROUS DANTOOLS BUG

nortond@ncoast.UUCP (08/17/87)

The utility "compress" in the DANTOOLS utilities has a bug, the entire
nature of which I have not yet determined.  The DANTOOLS utilities were
posted last month in "comp.binaries.ibm.pc."

I currently have only one example (courtesy of Karl Botts in Chicago)
which demonstrates the bug.  THIS IS AN EXAMPLE.  PLEASE DO NOT EXECUTE
THIS COMMAND ON YOUR PC UNLESS YOU ARE WILLING TO DESTROY ALL OF THE
CONTENTS OF ALL OF YOUR ATTACHED DISKS!

The command:

	"compress <dantools.arc >dantools.Z"

causes strange characters to appear on the screen (and probably
throughout memory).

The compress utility is a derivative of one found in the USENET
postings, modified to take advantage of the Microsoft C "huge" memory
model.

I have three wild guesses of what may be causing the problem:

	1) I may have introduced a bug in the conversion.

	2) The compress utility might not work with such large files.

	3) The compress utility might not work with large files which
	   have already been thoroughly compressed.

	4) MSC huge pointers might not work.

I do not have a correction yet; contact me if you would like a copy of
the (bugged) source.

--
Daniel A. Norton			...{lll-lcc,ptsfa,hplabs}!well!nortond
544 Cormorant Drive
Voorhees, NJ   08043			609/751-7381