Commit afdf6daf authored by Protobuf Team Bot's avatar Protobuf Team Bot Committed by Copybara-Service
Browse files

Fix proto deserialization issue when parsing a packed repeated enum field whose

possible values form a contiguous range that starts with 0 or 1, and end no
greater than 126, when parsing a noncontiguous stream (such as from a Cord).

This routine was misusing `ParseContext::Done`. It should only be used at tag boundaries and not within field parsing.

PiperOrigin-RevId: 501107542
parent 9dee1ca7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment