* forgot to init P buffer variable = crash

This commit is contained in:
carl 2002-10-31 13:08:04 +00:00
parent b53d789e1d
commit 630f9266bd

View File

@ -1549,7 +1549,7 @@ VAR Success: Integer; W, Bw: Sw_Word; P: PByteArray;
BEGIN
If Status <> StOk then
begin
FillChar(P^, Count, #0); { Error clear buffer }
FillChar(Buf, Count, #0); { Error clear buffer }
exit;
end;
If (Position + Count > StreamSize) Then { Read pas stream end }
@ -2901,7 +2901,10 @@ END;
END.
{
$Log$
Revision 1.15 2002-10-31 12:47:30 carl
Revision 1.16 2002-10-31 13:08:04 carl
* forgot to init P buffer variable = crash
Revision 1.15 2002/10/31 12:47:30 carl
* more compatibility fixes for objects unit
Revision 1.14 2002/10/30 22:44:44 carl