Infinity should not escape from the engine [CORE2581] #2991
Submitted by: Claudio Valderrama C. (robocop)
Assigned to: Claudio Valderrama C. (robocop)
Is related to QA409
Infinity and NaN should not escape from the engine. Client side tools should not see the special values. Integer overflow should be detected in the server side, too.
SQL> select 1e161/1e-161from rdb$database;
This is correct detection.
SQL> set sql dialect 1;
AFAIK, dialect 1 should be protected as well. Multiplication is protected in both dialects.
We need to protect sum and subtraction as well:
SQL> set sql dialect 3;
SQL> select 1e308 + 1e308 from rdb$database;
SQL> select 1e308 - -1e308 from rdb$database;
The text was updated successfully, but these errors were encountered: