aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@bluecherry.net>2011-10-12 00:53:12 -0600
committerMichael Niedermayer <michaelni@gmx.at>2011-10-13 03:31:01 +0200
commitc1847c932b1576e8224c38e112a5fd29fa8a6098 (patch)
treeec6ca120e791ec174718e8762338aee2e9163ea9 /libavdevice/libdc1394.c
parentdc66951bb2a10c1c6e1352fd6f0a601dc77785e5 (diff)
downloadffmpeg-c1847c932b1576e8224c38e112a5fd29fa8a6098.tar.gz
Correct buffer handling for RTCP packets
Previous code could read 4 bytes past the end of the buffer on a RTCP_SR packet or offset a pointer by an unchecked external value (payload_len), though neither will reliably cause a crash or other misbehavior beyond garbage timestamps. Additionally, unknown RTCP packet types, even in compounded packets, are now ignored as per RFC 3550 section 6.1, page 22, though currently this only has any practical effect if a sender puts an unrecognized type before RTCP_BYE in a compounded packet, or (incorrectly) does not put RTCP_SR first. Signed-off-by: John Brooks <john.brooks@bluecherry.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/libdc1394.c')
0 files changed, 0 insertions, 0 deletions