View Issue Details

IDProjectCategoryView StatusLast Update
0030886FPCRTLpublic2016-11-11 11:17
ReporterAlexey Tor.Assigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.1.1Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0030886: TFPList: need CheckIndex
DescriptionTFPList
fgl.pp
6 places need method CheckIndex
e.g.

procedure TFPSList.Move(CurIndex, NewIndex: Integer);
..
begin
  if (CurIndex < 0) or (CurIndex >= Count) then
    Error(SListIndexError, CurIndex);
  if (NewIndex < 0) or (NewIndex >= Count) then
    Error(SListIndexError, NewIndex);
Additional Informationrelated to http://mantis.freepascal.org/view.php?id=30869
TagsNo tags attached.
Fixed in Revision34872
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2016-11-11 11:17

administrator   ~0095756

Introduced (inlined) as suggested.

Issue History

Date Modified Username Field Change
2016-11-07 14:55 Alexey Tor. New Issue
2016-11-07 15:34 Michael Van Canneyt Assigned To => Michael Van Canneyt
2016-11-07 15:34 Michael Van Canneyt Status new => assigned
2016-11-11 11:17 Michael Van Canneyt Fixed in Revision => 34872
2016-11-11 11:17 Michael Van Canneyt Note Added: 0095756
2016-11-11 11:17 Michael Van Canneyt Status assigned => resolved
2016-11-11 11:17 Michael Van Canneyt Fixed in Version => 3.1.1
2016-11-11 11:17 Michael Van Canneyt Resolution open => fixed
2016-11-11 11:17 Michael Van Canneyt Target Version => 3.2.0