diff options
| author | 2022-12-19 17:24:31 -0500 | |
|---|---|---|
| committer | 2022-12-20 11:50:27 -0500 | |
| commit | bcc7865ed6be3900ff7184a560148a6ff9b5f7ca (patch) | |
| tree | b5ef51bed0c9b9cd5b23528696ec7339c178f41f /api/api.go | |
| parent | 08ea7a84f1cf6c368e40d0c3a8d5212f947a9a69 (diff) | |
Limit the size of lists in ZenPolicy
These lists are already size-limited by the set of things they may depict, but this change enforces the list sizes upon reading from a parcel in case any callers change the list sizes via reflection or something like it.
Bug: 251427644
Test: atest ZenPolicyTest
Change-Id: I301ee58afa03b6695294e8a46280169ecbbd3ba1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions