Skip to content

is deserializing untrusted buffers safe? #547

Answered by dwrensha
andrewbanchich asked this question in Q&A
Discussion options

You must be logged in to vote

capnproto-rust uses a lot of unsafe code, so it's difficult to assert that it is truly "safe". What I can say is that I have run a lot of fuzz testing on it, and a decent number of people seem to be using it. It's designed to return errors on malformed inputs, so if something else happens (via e.g. out-of-bounds access) then that's a bug that I would urgently fix.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andrewbanchich
Comment options

Answer selected by andrewbanchich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants