Comment #1 on issue 377 by ev...@csail.mit.edu: Truncated streams still parse with mergeDelimitedFrom
http://code.google.com/p/protobuf/issues/detail?id=377

I think you make a good point. It should be pretty easy to edit mergeDelimitedFrom() to explicitly create a CodedInputStream and check that CodedInputStream.isAtEnd() returns true.

As a workaround, you could create your own static helper method to do this, which won't depend on patching the protobuf library.


--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to