Damien Neil a5526f0129 internal/impl: fix off-by-one error in message initialization
This particular off-by-one can never happen in practice. We will crash
if a field has a number one greater than the maximum field number in the
dense array, but if field number N is in the array we will always put
N+1 in it as well.

Fix the off-by-one anyway.

Change-Id: I8c1304f2fc0d7b91036bde3f7ddb7115c21781ca
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/229278
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-04-21 21:23:04 +00:00
..
2020-04-02 00:23:08 +00:00
2020-04-02 00:23:08 +00:00
2020-01-12 09:18:34 +00:00
2020-02-25 21:59:54 +00:00
2020-02-19 22:01:50 +00:00
2019-10-04 17:07:45 +00:00