Merge "gatekeeperd: protect from invalid data passed by HAL" into nyc-mr2-dev