DescriptionPrevent integer overflow when (de)serializing BackoffEntry
DEPENDS ON https://codereview.chromium.org/1023473003
Patch https://codereview.chromium.org/1023473003/ added methods for the
serialization/deserialization of BackoffEntrys, but they are vulnerable
to integer overflow. This patch makes the implementation never
overflow; instead, times will be clamped to the nearest representable
time.
BUG=465399
Patch Set 1 #
Messages
Total messages: 4 (2 generated)
|