diff options
author | Rubin Xu <rubinxu@google.com> | 2018-10-09 16:13:38 +0100 |
---|---|---|
committer | Tim Schumacher <timschumi@gmx.de> | 2019-01-13 18:07:10 +0100 |
commit | 1674b6b7976c2faadf87ea6672c8172ff26d4571 (patch) | |
tree | d004f2bbef58b72eb41559d35ea8afc4bf8f39ed /Android.mk | |
parent | f23f72518aeecce4f72a58cf450bee3a48e4cb33 (diff) | |
download | android_system_vold-cm-13.0.tar.gz android_system_vold-cm-13.0.tar.bz2 android_system_vold-cm-13.0.zip |
[DO NOT MERGE] Fix signedness mismatch and integer underflowHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004cm-13.0
persist_get_max_entries() is supposed to return an unsigned integer as the
maximum number of entries but it also wrongly returns "-1" as an error
condition. Also fix an issue where an unsigned subtraction in this routine
could lead to integer underflow.
Bug: 112731440
Test: manual
Change-Id: I9672e39bef2c12156dda7806a08c52044962c178
(cherry picked from commit 19ef1ae99a0138197e43658e84d860d17912a4a0)
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions