jumaris / indyproject

Automatically exported from code.google.com/p/indyproject
0 stars 0 forks source link

ERangeError in MakeXAUTKey #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When range checking is on, an ERangeError can occur in MakeXAUTKey() of 
IdFTPCommon.pas.  This is because Random() returns an Integer but the function 
Result is a Cardinal, causing negative numbers to raise the error.

Original issue reported on code.google.com by gambit47 on 30 Mar 2011 at 7:32

GoogleCodeExporter commented 9 years ago
Fixed in rev 4611.

Original comment by gambit47 on 12 Dec 2012 at 9:37