summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorAmal Bansode <amal@tailscale.com>2026-03-02 17:33:57 -0800
committerGitHub <noreply@github.com>2026-03-02 17:33:57 -0800
commit8fd02bb6260c61c217589809372959c523be3a84 (patch)
treeeb7128c27c9272e63c582aaf37f045ad581ec481 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent5a2168da9ef6d7daff8fd0419dbfb6026b02a0ed (diff)
downloadtailscale-8fd02bb6260c61c217589809372959c523be3a84.tar.xz
tailscale-8fd02bb6260c61c217589809372959c523be3a84.zip
types/geo: fix floating point bug causing NaN returns in SphericalAngleTo (#18777)
Subtle floating point imprecision can propagate and lead to trigonometric functions receiving inputs outside their domain, thus returning NaN. Clamp the input to the valid domain to prevent this. Also adds a fuzz test for SphericalAngleTo. Updates tailscale/corp#37518 Signed-off-by: Amal Bansode <amal@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions