Skip to content
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

Closed
firebird-automations opened this issue Jan 28, 2008 · 10 comments
Closed

Buffer overflow in conversion [CORE1712] #2137

firebird-automations opened this issue Jan 28, 2008 · 10 comments

Comments

@firebird-automations
Copy link
Collaborator

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.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 13902 ] => Firebird [ 14142 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: John Kilin (johnkilin)

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

The bug is still valid for HEAD. Dialect 1 database is required to reproduce this issue.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Claudio Valderrama C. [ robocop ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Claudio Valderrama C. (robocop)

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA539 [ QA539 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: 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.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

Test Specifics: [Platform (Windows/Linux) specific]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Test created.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant