New issue
Advanced search Search tips

Issue 811690 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Fuzz the policy stack

Project Member Reported by ljusten@chromium.org, Feb 13 2018

Issue description

Write a fuzzer that generates random policy protos and verifies that No Bad Things Happen (TM).
 
See also  crbug.com/811338 .
Description: Show this description
Cc: ljusten@chromium.org
Owner: rsorokin@chromium.org
- Randomly generate ChromeDeviceSettingsProto and CloudPolicySettings protos
- Feed them into DeviceSettingsProvider::DecodePolicies, policy::DecodeDevicePolicy and DecodePolicy in cloud_policy_generated.cc.
- Check that the resulting policy_map and PrefValueMap doesn't have bad values (definitely nullptrs, but maybe we can check for more like schema)

Sign in to add a comment