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

Random AVs using stored procedures with expressions as default values of input parameters [CORE1884] #2316

Closed
firebird-issue-importer opened this issue May 6, 2008 · 5 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented May 6, 2008

Submitted by: @hvlad

If expression used as default value of input parameter needs space in request's impure area it can overwrite some other memory and result is often AV.
This is because such expression must be cloned and parsed in caller request context.

Commits: 391edc3 afa53da 5f87748 c3e8b5c

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 6, 2008

Modified by: @hvlad

Fix Version: 2.5 Alpha 1 [ 10224 ]

Fix Version: 2.1.1 [ 10223 ]

Fix Version: 2.0.5 [ 10222 ]

assignee: Vlad Khorsun [ hvlad ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 6, 2008

Modified by: @hvlad

description: If expression used as default value of input parameter needs space in request's impure area it can overwrite some other memory and result is often AV.
This is because such expression have no its own impure space.

=>

If expression used as default value of input parameter needs space in request's impure area it can overwrite some other memory and result is often AV.
This is because such expression must be cloned and parsed in caller request context.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 6, 2008

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 18, 2008

Modified by: @pcisar

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

@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