add comment to prevent security scan false positives (#5973)

This commit is contained in:
Alessandro Ros
2026-07-23 22:59:23 +02:00
committed by GitHub
parent 5994667eca
commit 2183d37d32
@@ -334,6 +334,9 @@ func (t *InboundTrack) start() {
pkts, err2 := rtcp.Unmarshal(buf[:n])
if err2 != nil {
// it's currently impossible for this to be triggered,
// because malformed RTCP packets are already blocked by pion/interceptor
// and in particular by the NACK interceptor.
panic(err2)
}