You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Brad Fitzpatrick 757ecf7e80 util/deephash: fix map hashing when key & element have the same type
Regression from 09afb8e35b, in which the
same reflect.Value scratch value was being used as the map iterator
copy destination.

Also: make nil and empty maps hash differently, add test.

Fixes #4871

Co-authored-by: Josh Bleecher Snyder <josharian@gmail.com>
Change-Id: I67f42524bc81f694c1b7259d6682200125ea4a66
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
cibuild all: use cibuild.On 4 years ago
clientmetric util/clientmetric: add gauge_ name prefix when uploading names 4 years ago
cmpver util/cmpver: move into OSS from corp repo. 5 years ago
codegen cmd/cloner,util/codegen: refactor cloner internals to allow reuse 4 years ago
deephash util/deephash: fix map hashing when key & element have the same type 4 years ago
dnsname all: use Go 1.18's strings.Cut 4 years ago
endian all: gofmt with Go 1.17 4 years ago
groupmember util/groupmember: remove redundant code (#4298) 4 years ago
jsonutil all: use any instead of interface{} 4 years ago
lineread util/lineread: add docs to Reader 5 years ago
mak util/mak: move tailssh's mapSet into a new package for reuse elsewhere 4 years ago
multierr all: use any instead of interface{} 4 years ago
netconv util/netconv: add package to convert between netip and netaddr types 4 years ago
osshare all: gofmt with Go 1.17 4 years ago
pidowner all: gofmt with Go 1.17 4 years ago
racebuild all: gofmt with Go 1.17 4 years ago
systemd all: use any instead of interface{} 4 years ago
uniq all: use any instead of interface{} 4 years ago
winutil net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 4 years ago