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

Fix potential crashes by using shared pointers for app data #3900

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

jacobkeeler
Copy link
Contributor

Fixes #3892

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Run ./test_scripts/Smoke/Resumption/005_Resumption_big_amount_of_data.lua repeatedly (listed in issue)

Summary

Use shared pointers instead of raw pointers for app data to prevent potential deallocation while reading data

Changelog

Bug Fixes
  • Use shared pointers instead of raw pointers for app data to prevent potential deallocation while reading data

CLA

@jacobkeeler
Copy link
Contributor Author

@VjKlepikov can you verify if this fixes the issue on your end?

@jacobkeeler jacobkeeler merged commit 6b423eb into release/8.1.0 Apr 7, 2022
@jacobkeeler jacobkeeler deleted the fix/use_shared_ptr_for_application_data branch April 7, 2022 15:46
@VjKlepikov
Copy link

@jacobkeeler Issue is not reproduced on e30057e

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.

None yet

3 participants