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: zero-sized messages cause assertion when glibc assertion are on #3705

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

somdoron
Copy link
Member

@somdoron somdoron commented Oct 7, 2019

Solution: when a zero-sized message is encoded or decoded avoid mem copy

Solution: when a zero-sized message is encoded or decoded avoid mem copy
@somdoron
Copy link
Member Author

somdoron commented Oct 7, 2019

@bluca this is what causes the Fedora issue.
Anyway, both wss and ws tests should pass now.

It was hard to find... maybe we should enable the glibcxx assertions when developing

@somdoron
Copy link
Member Author

somdoron commented Oct 7, 2019

on in one of the builds of travis...

@bluca
Copy link
Member

bluca commented Oct 7, 2019

Great catch! Yes enabling that sounds like a good idea

@bluca bluca merged commit de845bd into zeromq:master Oct 7, 2019
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