plutoo / protobuf-csharp-port

Automatically exported from code.google.com/p/protobuf-csharp-port
Other
0 stars 0 forks source link

Writing a message with a packed sequence without finding the serialized size first fails to encode the right length #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you have a message with a packed repeated field, and serialize it straight 
to a System.IO.Stream, we don't check the serialized size - so we never work 
out the serialized size of the packed field, leading to problems when 
parsing.

Original issue reported on code.google.com by jonathan.skeet on 19 May 2010 at 7:09

GoogleCodeExporter commented 9 years ago
Raising to priority "critical" - I want to fix this ASAP.

Original comment by jonathan.skeet on 19 May 2010 at 7:10

GoogleCodeExporter commented 9 years ago
Fixed in github and svn.

Original comment by jonathan.skeet on 19 May 2010 at 8:17