add missing check on invalid Union[] selector

This commit is contained in:
Michael Davidsaver committed 2023-11-11 08:15:12 -08:00
1 parent 17464a117a
commit a6b3eb58bd
1 file changed
+3
+3
View File
@@ -532,6 +532,9 @@ void from_wire_field(Buffer& buf, TypeStore& ctxt, const FieldDesc* desc, const
from_wire_full(buf, ctxt, fld);
return;
} else { // invalid selection
buf.fault(__FILE__, __LINE__);
}
}
break;