View Issue Details

IDProjectCategoryView StatusLast Update
0002430JEDI VCL00 JVCL Componentspublic2004-12-28 06:23
ReporterandregAssigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 RC 1 
Summary0002430: JvInterpreter: AV in TypeName2VarTyp
Descriptionif TypeName2VarTyp(const TypeName: string) is called with an empty string then the statement "... case TypeName[1] of ... " causes an AV.

It´s reproducable with the PAS2RAI-Application.
Additional Informationyou can fix it by inserting a condition before the case-statement:

function TypeName2VarTyp(const TypeName: string): Word;
begin
  Result := varEmpty;
  if Typename='' then
   exit;
  case TypeName[1] of
...
TagsNo tags attached.

Activities

AHUser

2004-12-28 06:23

developer   ~0006025

Fixed in CVS.

Issue History

Date Modified Username Field Change
2004-12-23 07:16 andreg New Issue
2004-12-28 06:23 AHUser Status new => resolved
2004-12-28 06:23 AHUser Resolution open => fixed
2004-12-28 06:23 AHUser Assigned To => AHUser
2004-12-28 06:23 AHUser Note Added: 0006025
2004-12-28 06:23 AHUser Assigned To AHUser =>