Skip to content

Don't panic when Payload is null.#157

Merged
zombiezen merged 1 commit into
capnproto:v3from
zenhack:null-payload
Aug 24, 2020
Merged

Don't panic when Payload is null.#157
zombiezen merged 1 commit into
capnproto:v3from
zenhack:null-payload

Conversation

@zenhack

@zenhack zenhack commented Aug 24, 2020

Copy link
Copy Markdown
Contributor

This patch fixes an issue where a null Payload in a Return or Call
message could cause the rpc logic to panic. Instead, we just treat a
null payload the same as an empty one.

This patch fixes an issue where a null Payload in a Return or Call
message could cause the rpc logic to panic. Instead, we just treat a
null payload the same as an empty one.
@zombiezen zombiezen merged commit 5246e51 into capnproto:v3 Aug 24, 2020
@zombiezen

Copy link
Copy Markdown
Contributor

Thanks, Ian!

@zenhack

zenhack commented Aug 24, 2020 via email

Copy link
Copy Markdown
Contributor Author

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