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

Memory management issue #112

Open
jmirabel opened this issue Jan 30, 2020 · 1 comment
Open

Memory management issue #112

jmirabel opened this issue Jan 30, 2020 · 1 comment

Comments

@jmirabel
Copy link
Contributor

Servant keys should not be the storage pointer.

This pointer may be deleted and the same address could be given to another object. In this case, the server will think it already has a servant for this pointer and will return the old servant, which is wrong.

Note that this only happens when persistent storage is set to false. A possible fix is to remove the servant from the server map when persistent storage is disabled.

@jmirabel
Copy link
Contributor Author

Related to agimus/agimus-hpp#14

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

No branches or pull requests

1 participant