OSDN Git Service

Fix benign unsigned overflow
authorChad Brubaker <cbrubaker@google.com>
Wed, 12 Aug 2015 19:46:44 +0000 (12:46 -0700)
committerChad Brubaker <cbrubaker@google.com>
Wed, 12 Aug 2015 19:46:44 +0000 (12:46 -0700)
commita3c0ae16ac1a9f7a8fced4b196d138cefa9462a5
treed185ef0ceb1a3b70a5f4a69fd6fd154503a90862
parent4fa7add661326878a398536f7876ccf4fbedf1de
Fix benign unsigned overflow

On the last check of the conditional param_count-- causes an unsigned
wrap around. This isn't incorrect but does lead to a false positive with
fsanitize unsigned-integer-overflow

Change-Id: If3eb7a9e248d0404a434de2ead70e8c099e84ddf
include/hardware/keymaster_defs.h