diff options
author | Hans Boehm <hboehm@google.com> | 2021-05-17 15:18:14 -0700 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2021-05-18 15:05:45 -0700 |
commit | 7169ee6b0fc31246ce53e5883d1a62adbded8537 (patch) | |
tree | 57863fca4aebc022a27932ea20500f1037987ee9 /test/ProfileTestMultiDex | |
parent | e1484e97b717e8a9c205bf7591ce3aea32c963ed (diff) |
Avoid timeout with >= 1 billion nsecs
Registering a timeout of >= 1000 msecs produced an error message,
but still resulted in a system call with timeout nsecs >= 1 billion,
which would cause an error return from the system call and a crash.
Avoid this by restricting timeouts to the maximum. Also enforce
minimum for symmetry.
Bug: 140968481
Test: TreeHugger
Change-Id: I191fb88a03bf09d2c5a93864bb26624c10b6e52d
Merged-In: I191fb88a03bf09d2c5a93864bb26624c10b6e52d
(cherry picked from commit c3632b1aab9fa47a0193b200b61bbc9ff1374fb6)
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions