Mike: Is that 4096 compressed or 4096 uncompressed?
From: "Michael Nordstrom" <plucker@tarf...>
Subj: Re: bug in uncompress.c?
Date: Sat Jan 10, 2009 4:46 pm
Size: 609 bytes
To: "Plucker development list" <plucker-dev@plkr...>
On Sat, Jan 10, 2009, Pruss, Alexander wrote:
> Isn't there a danger that outBuf[i++]=c^0x80 will overflow BUFSIZE? I
> don't fully understand the code yet, so I may be missing something.
PalmDOC data is always divided into 4096 byte blocks (i.e. BUFSIZE)
and the blocks are acted upon independently, so it should be safe as
long as the document is valid. If the document is invalid then all
bets are off anyway ;-)