mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 09:06:14 +00:00
The #458 empty/0-byte resilience logging logged the raw xml.Unmarshal error with %v. A parse error can echo attacker-controlled file content, so a newline-bearing error string reached the log unsanitized (CodeQL go/log-injection, medium). Wrap the error with sanitizeErr (strips \n/\r), the barrier logutil.go documents. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>