mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-10 20:56:14 +00:00
Add validateZcPort alongside validateZcHost: the strconv.Atoi→Itoa round-trip produces a sanitised integer string that CodeQL no longer considers tainted, closing the remaining go/request-forgery findings at zeroconf.go:263, :336, :413. Also rejects clearly invalid inputs (non-numeric, out-of-range) that would previously have produced a silently broken URL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>