mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-28 22:18:31 -04:00
This adds pre-validation directly at the unmarshal step, of annotations added to the protobuf definitions. This seeks to weed out unreasonable situations early, by ensuring offsets are positive, string lengths are limited, etc. Some of the limits are a bit subjective, but I think I've put them above what is expected and reasonable... --------- Signed-off-by: Jakob Borg <jakob@kastelo.net>
7 lines
283 B
Plaintext
7 lines
283 B
Plaintext
# Generated by buf. DO NOT EDIT.
|
|
version: v2
|
|
deps:
|
|
- name: buf.build/bufbuild/protovalidate
|
|
commit: 435963d1631043e694e56e6bcc3c79c3
|
|
digest: b5:f4ea07ad2dd94bd7243562f9908b9fb104feef8076040c89d9f7c1dedc074de4d4ce2b997686ef4400f3eccb765a7cfc20ed4acdd70b9a3699351245c61dba97
|