New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer overflow in conversion [CORE1712] #2137
Comments
Modified by: @pcisarWorkflow: jira [ 13902 ] => Firebird [ 14142 ] |
Modified by: John Kilin (johnkilin)security: Developers [ 10012 ] => |
Commented by: @dyemanov The bug is still valid for HEAD. Dialect 1 database is required to reproduce this issue. |
Modified by: @dyemanovassignee: Claudio Valderrama C. [ robocop ] |
Modified by: Claudio Valderrama C. (robocop)status: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0 Alpha 1 [ 10331 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: Done with caveats Test Details: (Windows only): number of digits in exponent of cast( <double> to varchar ) in dialect 1 depends on protocol that is used for connecting to database -- see CORE4814. |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] Test Specifics: [Platform (Windows/Linux) specific] |
Commented by: @pcisar Test created. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: John Kilin (johnkilin)
Assigned to: Claudio Valderrama C. (robocop)
Is related to QA539
Script:
create database 'Localhost:C:\DB\BugTest.gdb' user 'SYSDBA' password 'masterkey';
create table TestTable(
F1 numeric(15, 2)
);
commit;
insert into TestTable(F1) values(1E19);
commit;
select Cast(F1 as varchar(30)) from TestTable;
commit;
Generate error: Buffer overrun detected!
Commits: a8b74e0
====== Test Details ======
(Windows only): number of digits in exponent of cast( <double> to varchar ) in dialect 1 depends on protocol that is used for connecting to database -- see CORE4814.
The text was updated successfully, but these errors were encountered: