View Issue Details

IDProjectCategoryView StatusLast Update
0002072SkyChart1-Softwarepublic19-02-04 10:59
ReporterSasa Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntu 64-bitOS Version18.10
Product Version4.1 SVN 
Summary0002072: ExpandTab - bug
DescriptionThis is another bug in u_util.pas and function ExpandTab while I implementing printing for "Obkects list".

The function use following code:

  for j := 1 to length(str) do
  begin
    c := str[j - 1]; // <= Should be str[j]

    if c = tab then
...

Since str is plain string, index cannot be 0 and AV will be raised. Since the function is used only in pu_info which anyway still have no implemented printing, this bug remained undetected so far.
TagsNo tags attached.

Issue History

Date Modified Username Field Change
19-02-03 23:34 Sasa New Issue
19-02-04 10:59 Patrick Chevalley Status new => resolved
19-02-04 10:59 Patrick Chevalley Resolution open => fixed
19-02-04 10:59 Patrick Chevalley Note Added: 0005321