]> Cypherpunks repositories - gostls13.git/commit
bufio: read from underlying reader at most once in Read
authorRuss Cox <rsc@golang.org>
Tue, 18 Oct 2016 01:08:48 +0000 (21:08 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Oct 2016 12:56:55 +0000 (12:56 +0000)
commit0794dce07239fad5845b9c77b50d084f19f7278f
treec552413f7e97814c40be625abe084474f8262bbe
parent3d1ae4b75c77a88ba3b20ada874f1027365a8060
bufio: read from underlying reader at most once in Read

Fixes #17059.

Change-Id: I5c7ee46604399f7dc3c3c49f964cbb1aa6c0d621
Reviewed-on: https://go-review.googlesource.com/31320
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/bufio/bufio.go
src/bufio/bufio_test.go