Infinite loop

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
heidenbluth
Posts: 56
Joined: Mon 08 Nov 2004 19:01
Location: Germany

Infinite loop

Post by heidenbluth » Tue 03 Mar 2020 20:35

Hello,

As we know, the tnsnames.ora file may have include items such as IFILE=<filename>.
If you comment out such an item like #IFILE=<filename>, the procedure TOraServerEnumerator.GetServerList gets into an infinite loop. This causes the application to hang infinitely while filling the combo box with TNS aliases.

This can easily be avoided by incrementing the loop index before leaving:

if p = 0 then begin
Inc(i); //03.03.2020 added to leave while loop
continue;
end;

Could you please fix this?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Infinite loop

Post by MaximG » Wed 29 Apr 2020 13:37

Thank you for reporting the issue, we'll fix it. The fix will be included in the next build of our product, which we're currently working on.

Post Reply