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

Assigned random tipc port is not returned by ZMQ_LAST_ENDPOINT #3376

Closed
sigiesec opened this issue Feb 1, 2019 · 0 comments
Closed

Assigned random tipc port is not returned by ZMQ_LAST_ENDPOINT #3376

sigiesec opened this issue Feb 1, 2019 · 0 comments

Comments

@sigiesec
Copy link
Member

sigiesec commented Feb 1, 2019

Issue description

When using a wildcard/random port number in tipc bind, the assigned number is not returned via ZMQ_LAST_ENDPOINT.

Environment

  • libzmq version (commit hash if unreleased): 4.3.1
  • OS: Any

Minimal test code / Steps to reproduce the issue

  1. Add assertion to test_address_tipc test_tipc_port_identity for ref != 0

What's the actual result? (include assertion message & call stack if applicable)

ref is 0

What's the expected result?

ref should be the assigned port number

sigiesec added a commit to sigiesec/libzmq that referenced this issue Feb 1, 2019
…ed but not used

Solution: assign result to address

Fixes zeromq#3376
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