Skip to content

RangeCheck error #3

@tueddy

Description

@tueddy

While compiling with RangeCheck on i get an error in dbx4.firebird.dll.pas:

Convert := function (Source: RawByteString): string
           var
             W: WideString;
             L: Integer;
           begin
             L:= Length(Source) div 2;
             SetLength(W, L);
             if L > 0 then  //  ++ check length here ++
               Move(Source[1], W[1], Length(Source));
             Result := W;
           end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions