We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Submitted by: Lukas Petrlik (petrlik)
Assigned to: Claudio Valderrama C. (robocop)
Server crashes when a client attempts to connect to a database whose secondary file name is longer than 127 characters.
Steps to reproduce:
- create a database
- execute 'alter database add file' with a file name > 127 characters
- close the connection and connect again; the server will crash.
Used software: Firebird-18.104.22.16855-1_embed_win32, also crashes with 2.0.0
Cause: Sign extension bug on jrd/pag.cpp:1453 which reads:
file\_length = p\[1\]; // SCHAR to USHORT
Commits: 667d5e6 65999a3 0519215
The text was updated successfully, but these errors were encountered:
assignee: Claudio Valderrama C. [ robocop ]
Sorry, something went wrong.
Commented by: Claudio Valderrama C. (robocop)
The bug was introduced in the migration of the code from C to C++.
FB1 doesn't have the bug.
Any FB1.5 and newer will typically vanish without any error message (silent crash).
Version: 2.0.2 [ 10130 ]
Version: 2.1 Beta 1 [ 10141 ]
Version: 2.1 Alpha 1 [ 10150 ]
Version: 1.5.4 [ 10100 ]
Version: 2.0.0 [ 10091 ]
Version: 1.5.3 [ 10028 ]
Version: 1.5.2 [ 10027 ]
timeestimate: 600 [ 600 ]
timeoriginalestimate: 600 [ 600 ]
Also fixed in the 1.5 branch after 1.5.4.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.1 Beta 2 [ 10190 ]
summary: Sever crashes with secondary file name > 127 characters => Server crashes with secondary file name > 127 characters
Fix Version: 1.5.5 [ 10220 ]
Commented by: @pcisar
Reopened because if this was back ported to 1.5, we should do the same for 2.0.
status: Resolved [ 5 ] => Reopened [ 4 ]
resolution: Fixed [ 1 ] =>
Backported to v2.0.X as well.
status: Reopened [ 4 ] => Resolved [ 5 ]
Fix Version: 2.0.4 [ 10211 ]
status: Resolved [ 5 ] => Closed [ 6 ]
Workflow: jira [ 13101 ] => Firebird [ 13952 ]
QA Status: No test
No branches or pull requests