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

Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit [CORE6314] #6555

Closed
firebird-issue-importer opened this issue May 21, 2020 · 7 comments

Comments

@firebird-issue-importer

Submitted by: @asfernandes

-- Does not fail
select cast(rdb$db_key as char(2) character set utf8) from rdb$database;

Commits: e19c193 aa0d3a7

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 21, 2020

Modified by: @asfernandes

Component: Engine [ 10000 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 21, 2020

Modified by: @asfernandes

summary: Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit nor does validate the well-formness of the data => Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 21, 2020

Commented by: @aafemt

Is only RDB$DB_KEY affected or any binary (character set OCTETS) data also?

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 21, 2020

Commented by: @asfernandes

RDB$DB_KEY, as said in the subject.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 22, 2020

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.6 [ 10889 ]

Fix Version: 4.0 RC 1 [ 10930 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2020

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2020

Modified by: @pavel-zotov

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

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