rtpst2022-1-fecdec: don't xor out of bounds
authorMathieu Duponchelle <mathieu@centricular.com>
Sat, 12 Dec 2020 03:02:37 +0000 (04:02 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 12 Dec 2020 09:29:15 +0000 (09:29 +0000)
commit6d4dcb430d5448f506bb9076c7abe19200a081c3
treec0948027300d885d0e5fa952f22349e82b2814c1
parent6d98415fd4085bd1a910ca7263240d19d1089307
rtpst2022-1-fecdec: don't xor out of bounds

When reconstituting packets from a stream with variable packet
sizes, don't xor larger packets past the length of the protected
packet

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/839>
gst/rtpmanager/gstrtpst2022-1-fecdec.c