Closed jimblandy closed 6 years ago
Thanks for the issue, it is weird that it was not catched in existing tests. Anyway I have just made a PR to fix it (#119), do you mind trying it before I merge? (Else I'll do it tomorrow).
(note that it successfully parses Coredump.proto file too).
When I compile the following with
pb-rs
, I get a stack overflow:Either definition alone is sufficient. The error is:
Google's
protoc
accepts both without complaint.Such structures are actually used in Firefox heap snapshots.