]> Cypherpunks repositories - gostls13.git/commit
io: avoid integer overflow in NewSectionReader
authorIan Lance Taylor <iant@golang.org>
Mon, 27 Sep 2021 21:27:59 +0000 (14:27 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 27 Sep 2021 22:57:08 +0000 (22:57 +0000)
commit12e8ffc18e84a76f8e01457852c456a3b28ec55a
treea7bf2a7690da8d948d977071c7dcc13e8fbc36fd
parentcd4d59232e01f8b351cf83c0a669e56b10e8945d
io: avoid integer overflow in NewSectionReader

Fixes #48620

Change-Id: I37a5909ad27dc4a170929cb2e2ed1045cf524d59
Reviewed-on: https://go-review.googlesource.com/c/go/+/352629
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/io/io.go
src/io/io_test.go