Hi!

Is there a way one can query the minimum possible length of a protobuf 
message?
It seems that if the unpack routine is called with a message having 
incorrect length, it can potentially crash the program. So I'd like to add 
a check to see whether the length of the received message meets the minimum 
length requirements.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to