1
0
mirror of https://github.com/golang/go synced 2024-11-06 11:36:16 -07:00
go/src/encoding
Roland Shoemaker 08c46ed43d encoding/xml: use iterative Skip, rather than recursive
Prevents exhausting the stack limit in _incredibly_ deeply nested
structures.

Fixes #53614
Fixes CVE-2022-28131

Change-Id: I47db4595ce10cecc29fbd06afce7b299868599e6
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1419912
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/417062
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-12 15:05:39 +00:00
..
ascii85 all: remove trailing blank doc comment lines 2022-04-01 18:18:07 +00:00
asn1 all: replace `` and '' with “ (U+201C) and ” (U+201D) in doc comments 2022-04-05 17:52:29 +00:00
base32 encoding/base32: decoder output depends on chunking of underlying reader 2022-05-03 18:30:15 +00:00
base64
binary encoding/binary: add AppendVarint AppendUvarint 2022-04-15 01:19:37 +00:00
csv encoding/csv: add Reader.InputOffset method 2022-05-14 04:25:13 +00:00
gob all: gofmt main repo 2022-04-11 16:34:30 +00:00
hex
json encoding/json: mention SyntaxError in Unmarshal doc comment 2022-06-01 22:59:44 +00:00
pem encoding/pem: fix stack overflow in Decode 2022-04-12 15:19:32 +00:00
xml encoding/xml: use iterative Skip, rather than recursive 2022-07-12 15:05:39 +00:00
encoding.go