go/src/pkg
Rui Ueyama a2770af447 base64: fix bug that decoder fails to detect corruption
Encoding.Decode() failed to detect trailing garbages if input contains "==" followed by garbage smaller than 3 bytes (for example, it failed to detect "x" in "AA==x"). This patch fixes the bug and adds a few tests.

LGTM=nigeltao
R=golang-codereviews, bradfitz, nigeltao
CC=golang-codereviews
https://golang.org/cl/75340044
2014-03-20 16:00:34 +11:00
..
archive
bufio bufio: in Reader.WriteTo, try to use target's ReaderFrom 2014-02-27 10:48:36 -08:00
builtin
bytes strings, bytes: ReadAt should not mutate receiver 2014-03-19 12:13:47 -07:00
compress compress/bzip2: support superfluous Huffman levels. 2014-02-14 17:17:19 -05:00
container container/list: mark must be an element of the list 2014-02-13 16:43:52 -08:00
crypto crypto/rsa: fix docs for PrecomputedValues.Qinv 2014-03-11 13:06:01 -04:00
database/sql
debug debug/macho: handle missing __debug_str section 2014-03-13 14:04:29 -07:00
encoding base64: fix bug that decoder fails to detect corruption 2014-03-20 16:00:34 +11:00
errors
expvar expvar: don't recursively acquire Map.RLock 2014-03-18 11:38:39 -07:00
flag
fmt fmt: make %F a synonym for %f 2014-03-20 08:51:06 +11:00
go go/parser: better error position for non-invoked gp/defer functions 2014-03-04 14:10:30 -08:00
hash all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
html
image image/jpeg: return a FormatError when hitting an unexpected io.EOF 2014-02-28 15:18:35 +11:00
index/suffixarray
io
log all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
math math/rand: speed up Float32, Float64 2014-03-03 20:43:23 -05:00
mime all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
net net/http: make use of testing.Errorf instead of testing.Fatalf in non-test function goroutines 2014-03-18 21:12:00 +09:00
os os: relax the way we kill processes on Plan 9 2014-03-12 18:12:56 -07:00
path path/filepath: fixed misaligned comment. 2014-03-11 14:34:07 -07:00
reflect all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
regexp regexp: add one-pass optimization from RE2 2014-03-07 15:30:02 -05:00
runtime runtime: add stack growth tests 2014-03-19 17:22:56 +04:00
sort
strconv strconv: CanBackquote should reject \x7F 2014-03-19 10:16:48 +11:00
strings strings, bytes: ReadAt should not mutate receiver 2014-03-19 12:13:47 -07:00
sync sync: give finalizers more time in TestPoolGC 2014-03-07 16:08:12 -05:00
syscall syscall, net: clean up socket stub for solaris 2014-03-12 10:32:46 +09:00
testing testing: fix bogus benchmark 2014-02-24 21:12:44 +04:00
text text/template: don't panic when function call evaluates a nil pointer 2014-02-14 16:26:47 -08:00
time time: handle int64 overflow in ParseDuration. 2014-03-10 12:33:45 -04:00
unicode unicode: minor cleanup 2014-03-19 10:14:04 -07:00
unsafe