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: curve keys getsockopt uninitialised read #103

Merged
merged 2 commits into from
Feb 16, 2016

Conversation

bluca
Copy link
Member

@bluca bluca commented Feb 16, 2016

Solution: backport from zeromq/libzmq#1805 together with a small fix for Travis CI.

Solution: always initialised zmq::options_t class variables arrays to
avoid reading uninitialised data when CURVE is not yet configured and
a getsockopt ZMQ_CURVE_{SERVER | PUBLIC | SECRET]KEY is issued.

Backport from libzmq.
Solution: use stable branch instead of the development branch, and
also clone with --depth 1 to make it more efficient.
hintjens added a commit that referenced this pull request Feb 16, 2016
Problem: curve keys getsockopt uninitialised read
@hintjens hintjens merged commit 4d45ee9 into zeromq:master Feb 16, 2016
@hintjens
Copy link
Member

Nice. Would you also update NEWS to reference the issue? Thanks.

@bluca bluca deleted the uninitialised_sockopt branch February 16, 2016 13:52
@bluca
Copy link
Member Author

bluca commented Feb 16, 2016

Sure, but there is no issue in the tracker. Should I create one?

@hintjens
Copy link
Member

Yes, please. To backport fixes we must have issues. That's the simplest way
to tell people what changed in a stable release - list of issues solved.

On Tue, Feb 16, 2016 at 2:54 PM, Luca Boccassi notifications@github.com
wrote:

Sure, but there is no issue in the tracker. Should I create one?


Reply to this email directly or view it on GitHub
#103 (comment).

@bluca
Copy link
Member Author

bluca commented Feb 16, 2016

Ok, will do.

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