mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 05:48:59 +02:00
* Fix overflow in initialization of return value
This commit is contained in:
parent
91284ba543
commit
8527cb17f8
@ -2265,8 +2265,6 @@ begin
|
||||
if aRecord=Nil then exit;
|
||||
FieldTable:=aRecord^.ExtendedFields;
|
||||
if FieldTable=Nil then exit;
|
||||
if FieldList<>Nil then
|
||||
FillChar(FieldList^[Result],FieldTable^.FieldCount*sizeof(Pointer),0);
|
||||
For I:=0 to FieldTable^.FieldCount-1 do
|
||||
begin
|
||||
FieldEntry:=FieldTable^.Field[i];
|
||||
|
Loading…
Reference in New Issue
Block a user