mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
mpegtssection: Fix off-by-one in PMT parsing
This commit is contained in:
parent
911a6083c8
commit
57bb47f3f7
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ _parse_pmt (GstMpegtsSection * section)
|
|||
}
|
||||
|
||||
/* Section length was longer than the actual content of the PMT */
|
||||
if (data <= end - 4)
|
||||
if (data < end - 4)
|
||||
goto error;
|
||||
|
||||
/* Ensure we did not read after the end of our array */
|
||||
|
|
Loading…
Reference in a new issue