commit | 2ae60936c2a8b444e73f44f2f433459a2cbfe817 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Jan 14 11:12:21 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Tue Jan 14 19:43:24 2020 +0000 |
tree | a10d38f1c4944a6b128abd325019eae379e26bdd | |
parent | 1c8015fff55f69bef3ec996724ef5454a15f0d74 [diff] |
internal/impl: fix unmarshal of group containing their own field number The fast-path unmarshal was getting confused when parsing a group containing a field with a number the same as the group's own field number. Separate the handling of EndGroup tags. Change-Id: I637702b42c94a26102e693ee29a55e80b37d7f28 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/214737 Reviewed-by: Joe Tsai <joetsai@google.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.