diff --git a/doc/go1.15.html b/doc/go1.15.html index 34ce3e58ceeffc..73dbf89c2d2332 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -417,6 +417,21 @@

Minor changes to the library

+
encoding/json
+
+

+ Decoding a JSON array into a slice no longer reuses any existing slice elements, + following the rules that the package documentation already stated. +

+ +

+ Introduce an internal limit to the maximum depth of nesting when decoding. + This reduces the possibility that a deeply nested input could use large quantities + of stack memory, or even cause a "goroutine stack exceeds limit" panic. +

+
+
+
encoding/xml