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-issue-importer opened this issue Jan 28, 2008 · 10 comments
Closed

Buffer overflow in conversion [CORE1712] #2137

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

Comments

@firebird-issue-importer

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-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Feb 26, 2008

Modified by: John Kilin (johnkilin)

security: Developers [ 10012 ] =>

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 24, 2009

Commented by: @dyemanov

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

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 24, 2009

Modified by: @dyemanov

assignee: Claudio Valderrama C. [ robocop ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Nov 2, 2009

Modified by: Claudio Valderrama C. (robocop)

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 29, 2014

Modified by: @pcisar

Link: This issue is related to QA539 [ QA539 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2015

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-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2015

Modified by: @pavel-zotov

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

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

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 25, 2015

Commented by: @pcisar

Test created.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 25, 2015

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