go/src/encoding
chanxuehong a3c1836d80 encoding/base32: reduce overflow risk when calc encode/decode len
Same as https://go-review.googlesource.com/c/go/+/510635, reduces risk of overflow

Change-Id: I18f5560d73af76c3e853464a89ad7e42dbbd5894
GitHub-Last-Rev: 652c8c6712
GitHub-Pull-Request: golang/go#61547
Reviewed-on: https://go-review.googlesource.com/c/go/+/512200
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-07-26 11:18:30 +00:00
..
ascii85 encoding: use strings.Builder 2022-09-06 15:46:20 +00:00
asn1 encoding/asn1: improve memory efficiency of ObjectIdentifier.String 2023-03-29 18:24:36 +00:00
base32 encoding/base32: reduce overflow risk when calc encode/decode len 2023-07-26 11:18:30 +00:00
base64 encoding/base64: reduce the overflow risk when computing encode/decode length 2023-07-21 14:44:47 +00:00
binary encoding/binary: on invalid type return -1 from Size 2023-06-20 18:28:44 +00:00
csv encoding/csv: update doc comment of Read method 2023-05-10 13:00:20 +00:00
gob all: fix typos 2023-07-18 19:55:29 +00:00
hex Revert "hex: fix panic in Decode when len(src) > 2*len(dst)" 2023-02-21 15:35:11 +00:00
json encoding/json: document unsupported float values 2023-05-25 00:04:56 +00:00
pem all: use strings.Builder where appropriate 2022-09-29 22:56:00 +00:00
xml encoding/xml: wrap charsetReader errors 2023-05-17 16:20:09 +00:00
encoding.go encoding: document when marshaling methods can be added 2023-05-23 19:43:37 +00:00