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

PS-5084: innodb_buffer_pool_size is an uninitialized variable (5.7) #2735

Merged
merged 1 commit into from
Nov 29, 2018
Merged

PS-5084: innodb_buffer_pool_size is an uninitialized variable (5.7) #2735

merged 1 commit into from
Nov 29, 2018

Conversation

inikep
Copy link
Collaborator

@inikep inikep commented Nov 29, 2018

Fix issue in innodb_buffer_pool_size_validate when
srv_buf_pool_size == static_cast<ulint>(intbuf)
leads to
*static_cast<longlong *>(save) = requested_buf_pool_size;
is not called at all.
Then there is an uninitialized read of var->save_result in innodb_buffer_pool_size_update.

Fix issue in `innodb_buffer_pool_size_validate` when
```srv_buf_pool_size == static_cast<ulint>(intbuf)```
leads to
```*static_cast<longlong *>(save) = requested_buf_pool_size;```
is not called at all.
Then there is an uninitialized read of var->save_result in innodb_buffer_pool_size_update.
@inikep
Copy link
Collaborator Author

inikep commented Nov 29, 2018

@inikep inikep merged commit 0adebae into percona:5.7 Nov 29, 2018
@inikep inikep deleted the 8.0-PS-5084 branch November 29, 2018 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants