Skip to content

problem: zero-sized messages cause assertion when glibc assertion are on#3705

Merged
bluca merged 1 commit intozeromq:masterfrom
somdoron:ws_mechanism
Oct 7, 2019
Merged

problem: zero-sized messages cause assertion when glibc assertion are on#3705
bluca merged 1 commit intozeromq:masterfrom
somdoron:ws_mechanism

Conversation

@somdoron
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

somdoron commented Oct 7, 2019

on in one of the builds of travis...

@bluca
Copy link
Copy Markdown
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