1
0
mirror of https://github.com/golang/go synced 2024-10-05 11:41:22 -06:00
go/src
Adam Langley 1ddb8c20c6 crypto/x509: be strict about trailing data.
The X.509 parser was allowing trailing data after a number of structures
in certificates and public keys. There's no obvious security issue here,
esp in certificates which are signed anyway, but this change makes
trailing data an error just in case.

Fixes #10583

Change-Id: Idc289914899600697fc6d30482227ff4bf479241
Reviewed-on: https://go-review.googlesource.com/9473
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
2015-04-30 03:49:36 +00:00
..
archive all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
bufio bufio: fix incorrect comment on Scanner.Scan 2015-03-18 00:59:49 +00:00
builtin
bytes bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
cmd cmd/dist: rename buildmode method to supportedBuildmode 2015-04-30 01:19:22 +00:00
compress compress/flate: simplify the TestDegenerateHuffmanCoding data. 2015-04-17 04:31:48 +00:00
container
crypto crypto/x509: be strict about trailing data. 2015-04-30 03:49:36 +00:00
database/sql database/sql: Retry with a fresh connection after maxBadConnRetries 2015-04-08 16:18:36 +00:00
debug debug/dwarf: update class_string.go to add ClassReferenceSig using stringer. 2015-04-27 02:05:20 +00:00
encoding encoding/asn1: Improved control of flags and times 2015-04-28 16:35:13 +00:00
errors
expvar expvar: swap Float sync. from mutex to atomic. 2015-04-12 23:07:50 +00:00
flag all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
fmt fmt: adjust formatting of invalid reflect.Value, add more tests 2015-04-17 14:14:39 +00:00
go go/constants: rename go/exact to go/constants 2015-04-22 16:59:31 +00:00
hash hash/crc32: clarify documentation 2015-04-24 13:44:25 +00:00
html text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
image image/gif: check that individual frame's bounds are within the overall 2015-04-29 04:42:01 +00:00
index/suffixarray
internal internal/syscall: move to unix subdirectory 2015-04-15 23:51:36 +00:00
io io: add CopyBuffer, a version of Copy in which the user provides a buffer 2015-04-15 15:59:16 +00:00
log log/syslog: make the BUG notes visible on golang.org 2015-04-22 21:09:53 +00:00
math math/big: add partial arm64 assembly support 2015-04-23 23:29:15 +00:00
mime mime/quotedprintable: Return a Reader instead of an io.Reader 2015-04-16 16:18:26 +00:00
net net/http: handle "close" amongst multiple Connection tokens 2015-04-29 23:52:43 +00:00
os os/exec: Document the fact that Cmd cannot be reused. 2015-04-29 21:08:07 +00:00
path path/filepath: skip test on darwin/arm64 2015-04-13 11:52:46 +00:00
reflect reflect: use arrayAt consistently 2015-04-21 17:29:25 +00:00
regexp regexp: trivial change in comments to update code.google.com link 2015-04-27 20:18:25 +00:00
runtime runtime: print stack of G during a signal 2015-04-29 19:25:10 +00:00
sort
strconv strconv: use 64bit uint for decimal conversion if available 2015-04-10 17:42:20 +00:00
strings bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
sync sync/atomic: skip issue 7338 test on darwin/arm64 2015-04-12 02:47:43 +00:00
syscall syscall: darwin/arm64 support 2015-04-16 12:43:44 +00:00
testing testing/quick: align tests with reflect.Kind. 2015-04-26 02:40:40 +00:00
text text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
time time: use longer delta duration for TestAfterQueueing retries 2015-04-29 21:43:29 +00:00
unicode all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: copy pkg for gcimporter tests 2015-04-08 14:39:07 +00:00
bootstrap.bash
buildall.bash src: build cmd in buildall.bash 2015-04-30 00:02:59 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash iostest.bash: run detect.go as part of iostest 2015-04-16 12:59:54 +00:00
make.bash
make.bat
Make.dist
make.rc
nacltest.bash nacltest.bash: reduce test time by using bootstrapping Go to build fstest_nacl.go 2015-03-24 23:58:14 +00:00
race.bash
race.bat
run.bash
run.bat
run.rc