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-automations opened this issue May 6, 2008 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

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-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

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