diff options
| author | Robert Griesemer <gri@golang.org> | 2024-01-08 13:28:59 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-01-09 15:29:36 +0000 |
| commit | aba18d5b6785d501996b475d58a05cc26707d370 (patch) | |
| tree | 00466900b0b6212f37108b67dc807f65ce43a9d2 /src/net/http/httputil/reverseproxy.go | |
| parent | 821f94103b2980758cdb21ac6ae834ef0a07235a (diff) | |
| download | go-aba18d5b6785d501996b475d58a05cc26707d370.tar.xz | |
math/big: fix uint64 overflow in nat.mulRange
Compute median as a + (b-a)/2 instead of (a + b)/2.
Add additional test cases.
Fixes #65025.
Change-Id: Ib716a1036c17f8f33f51e33cedab13512eb7e0be
Reviewed-on: https://go-review.googlesource.com/c/go/+/554617
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/net/http/httputil/reverseproxy.go')
0 files changed, 0 insertions, 0 deletions
