|
Post by Kevin on Jan 19, 2004 20:31:44 GMT -5
There is a bug in ZLibDecompressString which will arise if you try to decompress a string shorter than 512 bytes. Here is the fix for this bug. It will also be a part of the next build.
Open up VCLUNZIP.PAS and go to about line number 2658 and you should find this line:
MoveI32(pointer(outBuf)^, pointer(s)^, outBytes);
Change the 's' to 'Result' so it looks like this
MoveI32(pointer(outBuf)^, pointer(Result)^, outBytes);
|
|