Icon View Incident Report

Minor Minor
Reported By: Tiago Ameller
Reported On: 5/27/2011
For: Version 2.05 Build 7
# 3454 Not Passing All Parameters to a Stored Procedure Can Cause an AV

Since updated to 2.05 build 7, attached stored procedure raises this AV:

ElevateDB Error #901 An error occurred with the routine at line 5 and column 8 (Access violation at address 005CA9C2 in module 'edbsrvr.exe'. Read of address 00000068)

executing the following script.


SCRIPT
BEGIN
  USE MAGEST2_ACTUAL;
  -- Clean logs and backups
  CALL STL(60,'c:\tmp\*.csv');
  CALL STL(30,'c:\tmp\*.EDBBkp');
  USE;
END

Procedure:

CREATE PROCEDURE "STL" (IN iNum INTEGER,
                        IN sPath VARCHAR,
                        OUT "iDeleted" INTEGER)
EXTERNAL NAME "M01Misc"



Comments Comments and Workarounds
The workaround is to make sure that the number of passed parameters matches the number of declared parameters for the procedure.


Resolution Resolution
Fixed Problem on 5/27/2011 in version 2.05 build 8


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