Mike: Is that 4096 compressed or 4096 uncompressed?
-----Original Message-----
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 ;-)
Cheers,
/Mike
_______________________________________________
Public archival of this list without permission is prohibited.
http://lists.plkr.org/mailman/listinfo/plucker-dev
_______________________________________________
Public archival of this list without permission is prohibited.
http://lists.plkr.org/mailman/listinfo/plucker-dev
opensubscriber is not affiliated with the authors of this message nor responsible for its content.