Fix security bug - A malicious DPC can crash the device by setting policies of large sizes using up all the memory on the device and crashing it.

Test: atest DeviceManagementCoexistenceTest
Bug: 281543351
Change-Id: I3719adef6dbf1f203fd073deb61983d303590b8c
4 files changed