mirror of https://go.googlesource.com/go
a5fb65601e
Per the discussion on the issue, make methods that depend on incoming offsets or positions tolerant in the presence of out-of-bounds values by adjusting the values as needed. Add an internal flag debug that can be set to enable the old (not fault-tolerant) behavior. Fixes #57490. Change-Id: I8a7d422b9fd1d6f0980fd4e64da2f0489056d71e Reviewed-on: https://go-review.googlesource.com/c/go/+/559436 Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Bypass: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Robert Griesemer <gri@google.com> |
||
---|---|---|
.. | ||
testdata | ||
error_test.go | ||
example_test.go | ||
interface.go | ||
parser.go | ||
parser_test.go | ||
performance_test.go | ||
resolver.go | ||
resolver_test.go | ||
short_test.go |