From 84baf4162a96f360bd64e710a629d1f6753294bd Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor
Date: Fri, 12 Jun 2020 15:40:56 -0700
Subject: [PATCH] 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
---
doc/go1.15.html | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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
-
--
2.50.0