1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:30:14 -07:00
go/src/encoding
Alexandru Moșoi 478b594d51 encoding/binary: fix bound check
The inserted early bound checks cause the slice
to expand beyond the original length of the slice.

Change-Id: Ib38891605f4a9a12d3b9e2071a5f77640b083d2d
Reviewed-on: https://go-review.googlesource.com/20981
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
2016-03-21 19:22:22 +00:00
..
ascii85 all: single space after period. 2016-03-02 00:13:47 +00:00
asn1 all: single space after period. 2016-03-02 00:13:47 +00:00
base32 all: single space after period. 2016-03-02 00:13:47 +00:00
base64 encoding/base64: correct DecodedLen overestimate for unpadded encodings 2016-03-15 20:43:04 +00:00
binary encoding/binary: fix bound check 2016-03-21 19:22:22 +00:00
csv all: single space after period. 2016-03-02 00:13:47 +00:00
gob all: delete dead test code 2016-03-21 07:10:08 +00:00
hex all: single space after period. 2016-03-02 00:13:47 +00:00
json all: single space after period. 2016-03-02 00:13:47 +00:00
pem all: single space after period. 2016-03-02 00:13:47 +00:00
xml all: delete dead test code 2016-03-21 07:10:08 +00:00
encoding.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00