commit | cb700ebc64cdaaed2682933ce2304c5164e9e703 | [log] [tgz] |
---|---|---|
author | Liu, Kai1 <kai1.liu@intel.com> | Tue Dec 12 19:20:49 2023 +0800 |
committer | Liu, Kai1 <kai1.liu@intel.com> | Wed Dec 13 16:52:05 2023 +0800 |
tree | 3b80ec485a82251529fd03fbaafdd3dba7b1e71b | |
parent | 64930a6379e88ff5e9407978fe54c7d5e2b241a0 [diff] |
Make sure the VehiclePropValue object is initialized If MALLOC_ZERO_CONTENTS is false, the new created VehiclePropValue object maybe filled with dirty data, we should initialize it so that its status member can be initialized to zero to avoid timeout when car services get properties, such as property OBD2_LIVE_FRAME. Bug: 315728228 Test: hidl_test Change-Id: I530bc95a3074c917be853f55cd1736558b140da4 Signed-off-by: Liu, Kai1 <kai1.liu@intel.com>