commit | 66f40c1d14e6d44533b780e2a233f67a379b8f4d | [log] [tgz] |
---|---|---|
author | Ayrton Munoz <adm@immunant.com> | Wed Aug 18 16:25:09 2021 -0500 |
committer | Ayrton Munoz <adm@immunant.com> | Wed Aug 18 16:48:32 2021 -0500 |
tree | a8c5e3258834e9d389c865b8db8250fdb3c63e90 | |
parent | 4d5078f1b5fc6c303065e0f36b1abb932d639b44 [diff] |
Fix UB in implicit conversion in cast to keymaster_command The keymaster_command enum was implicitly represented by an int32_t which caused UB when the uint32_t command from the deserialized request couldn't be implicitly converted to int32_t in the cast to keymaster_command. Bug: 193672186 Change-Id: I5ba0d91e367210edeb3ece81df2b667c08d3d8eb