If the extension MiniDescriptor did not contain any fields, we would read an uninitialized value. We need to add a check that the extension descriptor contains exactly one field.
PiperOrigin-RevId: 475075831
pull/13171/head
Joshua Haberman2 years agocommitted byCopybara-Service