qykings / protobuf-actionscript3

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

Protocol completely broken #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send any serialized proto from java, for example:

message LoginResponse{
    optional string login_confirmation = 1;
}

Deserialization crashes because readFromCodedStream gets confused when
hitting  byte 0 within protobuf encoded string field.

WinVista/XP, ver 2.2 of protobuf and protobuf-actionscript3.

Please provide any additional information below.

Original issue reported on code.google.com by xcuna...@gmail.com on 13 Oct 2009 at 6:16

GoogleCodeExporter commented 9 years ago
v2.2 was completely broken due to some change of default behavior in 
protobuf-2.2.

Can you test again? In the interim I'll mark the bug as fixed.

Original comment by sorrydevil@gmail.com on 16 Oct 2009 at 7:15

GoogleCodeExporter commented 9 years ago
Works like a charm now, thanks!

Original comment by xcuna...@gmail.com on 16 Oct 2009 at 4:21