protobuf-go/internal
Damien Neil 4eefd77886 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>
2020-02-06 18:58:27 +00:00
..
benchmarks internal/impl: refactor validation a bit 2020-02-05 05:32:50 +00:00
cmd all: make .proto file names relative to module root 2020-02-04 23:20:20 +00:00
conformance encoding/prototext: rewrite of internal/encoding/text 2020-02-05 02:11:08 +00:00
descfmt
descopts
detrand
encoding internal/encoding/text: fix error construction in parseTypeName 2020-02-05 23:01:15 +00:00
errors
fieldnum
fieldsort proto, internal/impl: make wire output more consistent with v1 2019-11-12 20:59:03 +00:00
filedesc internal/filedesc: remove dependency on proto file name 2020-02-04 23:20:06 +00:00
filetype reflect/protoregistry: add (*Types).Register{Message,Enum,Extension} 2019-10-31 16:23:42 +00:00
flags internal/impl: lazy extension decoding 2020-01-29 21:35:31 +00:00
fuzz internal/fuzz: add oss-fuzz build script 2020-02-05 22:47:15 +00:00
fuzztest internal/fuzztest: set cap to len on test byte slice 2020-02-05 22:46:04 +00:00
genname internal/genname: centralize the definitions for generated names 2019-12-09 22:57:38 +00:00
impl internal/impl: init map value MessageInfos in validator 2020-02-06 18:58:27 +00:00
mapsort internal/testprotos/legacy: rename and regenerate 2020-01-12 08:13:18 +00:00
pragma
protobuild proto, internal/protobuild: add test proto template builder 2020-02-03 19:14:55 +00:00
protolegacy reflect/protoregistry: add (*Types).Register{Message,Enum,Extension} 2019-10-31 16:23:42 +00:00
set
strs
testprotos all: make .proto file names relative to module root 2020-02-04 23:20:20 +00:00