[Nearby] Fix integer overflow in expiration scheduler
Using base::Time::Min() for the overdue private certificate expiration time resulted in integer overflow because base::Time does not use clamped arithmetic. See crbug/1127026. Change-Id: I00a898858bf6d2b97aa6a34a37ca2ee90d2c9836 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404363 Commit-Queue: Josh Nohle <nohle@chromium.org> Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Auto-Submit: Josh Nohle <nohle@chromium.org> Cr-Commit-Position: refs/heads/master@{#805949}
Showing
Please register or sign in to comment