-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more validation to integral/floating default values during descri…
…ptor processing. protoc already does these validations, but descriptor building should do them too. Checks added: - Verify that parsing the value consumes the whole string, even in the presence of NULL characters. - Verify that there are no overflows for integral types. PiperOrigin-RevId: 707992634
- Loading branch information
1 parent
7740bcb
commit dad7dc2
Showing
2 changed files
with
265 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters