commit | b00981343a7065ab953f9e0f25538971a8d28def | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Mon Jun 17 13:09:15 2019 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Fri Jul 12 15:19:24 2019 -0700 |
tree | c95b78ccbbf8086e10c9518703b3ed93405c51bf | |
parent | 04b02f651d8e215ddcdf72dd0dcccafacc2c92a2 [diff] |
Centralize bounds checking and don't overflow This does not directly change any of the semantics, but it prevents the overflow sanitizer from thinking the overflow checks on the buffer bounds may be overflows themselves. It also centralizes some checking for clearer code. Bug: 80146040 Change-Id: Ifd98658d2ee83b2b2544cc8e7f4cbb486b21a575