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

Problem: uninitialized context pointer in socket_t move constructor #130

Merged
merged 1 commit into from
Jul 3, 2017
Merged

Problem: uninitialized context pointer in socket_t move constructor #130

merged 1 commit into from
Jul 3, 2017

Conversation

a4z
Copy link
Contributor

@a4z a4z commented Jul 3, 2017

This can cause monitor_t to crash if used with a socket that was
constructed via the move constructor.

Solution: initialise the context pointer variable ctxptr in the move
constructor.

This can cause monitor_t to crash if used with a socket that was
constructed via the move constructor.

Solution: initialise the context pointer variable ctxptr in the move
constructor.
@bluca bluca merged commit 1bfb3ad into zeromq:master Jul 3, 2017
@ax3l ax3l mentioned this pull request Jul 31, 2017
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

2 participants