versatica / mediasoup

Cutting Edge WebRTC Video Conferencing
https://mediasoup.org
ISC License
6.27k stars 1.13k forks source link

TestRtpStreamSend: ASAN, fix buffer overflow #1419

Closed jmillan closed 4 months ago

jmillan commented 4 months ago

Do not use a hardcoded length value when parsing a RTP packet

Fixes TODO 1 in https://github.com/versatica/mediasoup/issues/1417#issuecomment-2199943723