]> Cypherpunks repositories - gostls13.git/commit
bufio: check buffer availability before reading in ReadFrom
authorAndrew Gerrand <adg@golang.org>
Thu, 25 Jul 2013 01:29:13 +0000 (11:29 +1000)
committerAndrew Gerrand <adg@golang.org>
Thu, 25 Jul 2013 01:29:13 +0000 (11:29 +1000)
commit93c6d0ef8f7c081f961ea3efe10e61a5b585cfbb
treec01fae74c25c77ab889a0485b411a09a21783528
parentf7dfeea90fcbb623a7cd11bccde6c4a4de7f2386
bufio: check buffer availability before reading in ReadFrom

Fixes #5947.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/11801043
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go