commit | 4eefd77886311f75601b5f4078580e2bfcb621b0 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu Feb 06 10:27:31 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Thu Feb 06 18:58:27 2020 +0000 |
tree | 4db9dee9761111a3f322b9e91bc03fd6570d8b08 | |
parent | 2eb18f0e62b138c7471b7a4831fb9e3497e23c90 [diff] |
internal/impl: init map value MessageInfos in validator I'm not sure how to write a good test for this one, since it's so specific to both the code and the ordering of initialization. Just sticking the fuzzer-provided case into our standard test message set doesn't do it, because something else has initialized the MessageInfo by the time the test gets there. Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20543 Change-Id: I508222b43e52287f73e2ed32ce9b954a5f81717b Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/218257 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.