]> Cypherpunks repositories - gostls13.git/commit
net/textproto: turn an ancient DoS BUG annotation into a comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Dec 2014 03:06:53 +0000 (14:06 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Dec 2014 04:17:30 +0000 (04:17 +0000)
commit3185f8620c35e7a6f54b6830c4833528c9878407
treef4e0cff210d455432c81e229e29edbaf045c9fcd
parentdf1739c77d4eb4f700722b4eb70b6036df96a9b9
net/textproto: turn an ancient DoS BUG annotation into a comment

Actually fixing this "bug" would be weird, since io.LimitReader already
does what we need, as demonstrated by net/http's use.

Thanks to @davidfstr for pointing this out.

Change-Id: If707bcc698d1666a369b39ddfa9770685fbe3879
Reviewed-on: https://go-review.googlesource.com/1579
Reviewed-by: Rob Pike <r@golang.org>
src/net/textproto/reader.go