mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-06 09:40:07 +00:00
The size calculation for packed repeated extension fields was considering a zero-length list as encoding to a zero-length wire.BytesType field, rather than being omitted entirely. Change-Id: I7d4424a21ca8afd4fa81391caede49cadb4e2505 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/212297 Reviewed-by: Joe Tsai <joetsai@google.com>