From: Ian Lance Taylor
Date: Fri, 12 Jun 2020 22:40:56 +0000 (-0700)
Subject: doc/go1.15: document new bufio.ErrBadReadCount
X-Git-Tag: go1.15rc1~87
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=84baf4162a96f360bd64e710a629d1f6753294bd;p=gostls13.git
doc/go1.15: document new bufio.ErrBadReadCount
For #37419
For #38053
Change-Id: I206f360ff4957bc7edc3c35dfc814b7bd5ec440c
Reviewed-on: https://go-review.googlesource.com/c/go/+/237739
Reviewed-by: Dmitri Shuralyov
---
diff --git a/doc/go1.15.html b/doc/go1.15.html
index 33598a262d..b6cf5bb8f6 100644
--- a/doc/go1.15.html
+++ b/doc/go1.15.html
@@ -375,6 +375,20 @@ Do not send CLs removing the interior tags from such phrases.
in mind.
+- bufio
+ -
+
+ When a Scanner
is
+ used with an invalid
+ io.Reader
that
+ incorrectly returns a negative number from Read
,
+ the Scanner
will no longer panic, but will instead
+ return the new error
+ ErrBadReadCount
.
+
+
+
+
- crypto
-