Comment #1 on issue 377 by Truncated streams still parse with mergeDelimitedFrom

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
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to