Icon View Incident Report

Serious Serious
Reported By: Wolfgang Klein [AESA GmbH]
Reported On: 10/2/2013
For: Version 2.13 Build 3
# 3888 Integer Overflow in Maximum Row Count Checking in the Engine

There is an integer overflow at 2GB table size when adding new rows even when LargeFileSupport is True.

A typecast Int64 missing in TEDBRowsetManager.CheckMaxBuffers (marked with {!!}).

procedure TEDBRowsetManager.CheckMaxBuffers;
begin
   if ((AvailableHeaderSize+(Int64 {!!} (FNextNumber)*BufferSize)) > FTableManager.FileManager.MaximumLockedFileSize) then
      raise EEDBException.Create(EDB_ERROR_FULL,FormatString(EDB_ERRSTR_FULL,
                                    [FTableManager.Table.TypeName,
                                     FTableManager.Table.Name,
                                     FullFileName]));
end;



Resolution Resolution
Fixed Problem on 10/2/2013 in version 2.14 build 1


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image