commit | 328a0519a5524ae358c1b5958a8c23235166e4e8 | [log] [tgz] |
---|---|---|
author | Armando Montanez <amontanez@google.com> | Fri May 21 13:37:58 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 25 16:28:48 2021 +0000 |
tree | 107b9a38f0d32656c77ad4d6bd3c5b77500d481e | |
parent | 6493303abe1cceb0b6f206e9fee6bccc3dd04480 [diff] |
pw_protobuf: Enforce kMaxVarintSize Updates the streaming encoder to enforce submessage size limits introduced by a smaller kMaxVarintSize. Switches the unit test for this configuration option to use the new StreamingEncoder interfaces. Bug: 384 No-Docs-Update-Reason: Internal bugfix Change-Id: Iec06858c88b4b402292076bb410328ad8693debd Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/46620 Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
See our website: http://pigweed.dev