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

Crash in fbclient after unsuccessful user management API call [CORE1455] #1873

Closed
firebird-issue-importer opened this issue Sep 12, 2007 · 6 comments

Comments

@firebird-issue-importer

Submitted by: @dyemanov

Any unsuccessful user API call (e.g. isc_add_user() called for an already existing user name) returns invalid status vector with string arguments pointing to the deallocated memory. If the client application then performs any of the error handling API calls (isc_interpret() etc), SEGV happens.

Reported by Guido Klapperich.

I suppose the bug is located in alt.cpp::executeSecurityCommand() where the detachRemoteServiceManager() call discards the status strings.

Commits: 5b99b29 0c93cfe d3c93a5

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 18, 2007

Commented by: @AlexPeshkoff

Added dedicated circular buffer to keep strings permanently.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 18, 2007

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 2.1 RC1 [ 10201 ]

Fix Version: 2.0.4 [ 10211 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 18, 2007

Modified by: @AlexPeshkoff

Fix Version: 2.1 Beta 2 [ 10190 ]

Fix Version: 2.1 RC1 [ 10201 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 26, 2007

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

Workflow: jira [ 13034 ] => Firebird [ 13935 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

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

Successfully merging a pull request may close this issue.

None yet
2 participants