mirror of https://github.com/tailscale/tailscale/
internal/deephash: 8 bits of output is not enough
Running hex.Encode(b, b) is a bad idea. The first byte of input will overwrite the first two bytes of output. Subsequent bytes have no impact on the output. Not related to today's IPv6 bug, but...wh::ps. This caused us to spuriously ignore some wireguard config updates. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>crawshaw/deephash
parent
c35a832de6
commit
7f095617f2
Loading…
Reference in New Issue