go/src
Diogo Pinela 8cd00a5262 archive/zip: prevent writing data for a directory
When creating a directory, Writer.Create now returns a dummy
io.Writer that always returns an error on Write.

Fixes #24043

Change-Id: I7792f54440d45d22d0aa174cba5015ed5fab1c5c
Reviewed-on: https://go-review.googlesource.com/108615
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-04-26 15:57:06 +00:00
..
archive archive/zip: prevent writing data for a directory 2018-04-26 15:57:06 +00:00
bufio
builtin
bytes
cmd cmd/asm: add VSRI instruction on ARM64 2018-04-26 15:03:21 +00:00
compress compress/flate: optimize huffSym 2018-04-17 22:37:49 +00:00
container container/heap: fix comments style 2018-04-11 20:11:09 +00:00
context context: avoid defer in the cancelCtx.Err method 2018-04-15 21:35:53 +00:00
crypto crypto/md5: unnecessary conversion 2018-04-24 15:49:43 +00:00
database/sql database/sql: remove unnecessary else conditions 2018-04-19 18:57:52 +00:00
debug debug/elf: add riscv64 relocations 2018-04-18 13:19:31 +00:00
encoding encoding/base64: fix format error 2018-04-25 20:22:16 +00:00
errors
expvar
flag flag: correct zero values when printing defaults 2018-04-01 20:17:22 +00:00
fmt fmt: make %v doc for compound objects consistent 2018-04-17 23:47:44 +00:00
go go/types: fix format errors 2018-04-25 20:22:06 +00:00
hash
html text/template: copy Decl field when copying PipeNode 2018-04-10 14:26:58 +00:00
image
index/suffixarray
internal internal/cpu: remove redundant build tag 2018-04-25 04:41:00 +00:00
io io/ioutil: change TempFile prefix to a pattern 2018-04-12 20:00:25 +00:00
log
math math: add a testcase for Mod and Remainder respectively 2018-04-17 03:17:22 +00:00
mime mime: add wasm architecture 2018-04-13 20:20:12 +00:00
net net: add support for splice(2) in (*TCPConn).ReadFrom on Linux 2018-04-24 14:14:56 +00:00
os os: fix type check error in benchmark 2018-04-25 02:46:08 +00:00
path
plugin
reflect reflect: define MyBuffer more locally in TestImplicitMapConversion 2018-04-18 12:47:39 +00:00
regexp regexp: use sync.Pool to cache regexp.machine objects 2018-04-03 16:03:19 +00:00
runtime runtime: FreeBSD fast clock_gettime HPET timecounter support 2018-04-26 03:54:19 +00:00
sort sort: fix typo in comment 2018-04-22 22:32:11 +00:00
strconv
strings strings: clarify Replacer's replacement order 2018-04-26 15:11:58 +00:00
sync sync: hide test of misuse of Cond from vet 2018-04-25 02:49:46 +00:00
syscall syscall: avoid extra syscall on send/recvmsg on Linux 2018-04-19 22:16:24 +00:00
testing runtime/pprof: introduce "allocs" profile 2018-04-24 16:11:41 +00:00
text text/template: improve comment example in doc 2018-04-19 09:21:51 +00:00
time time: increase test coverage for Time.Sub 2018-04-16 21:14:40 +00:00
unicode
unsafe
vendor/golang_org/x net/http: omit forbidden Trailer headers from response 2018-04-16 17:44:41 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash src/run.bash: remove some trailing whitespace 2018-04-01 16:12:47 +00:00
run.bat
run.rc