Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002430 [JEDI VCL] 00 JVCL Components major always 2004-12-23 07:16 2004-12-28 06:23
Reporter andreg View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved   Product Version 3.00 BETA 2
Summary 0002430: JvInterpreter: AV in TypeName2VarTyp
Description if 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 Information you 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
...
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006025)
AHUser (developer)
2004-12-28 06:23

Fixed in CVS.

- Issue History
Date Modified Username Field Change
2004-12-23 07:16 andreg New Issue
2004-12-23 07:16 andreg Issue Monitored: andreg
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 =>


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker