mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
mpegtsdemux, mpegtsparse: max section length is 4093 not 1021.
This commit is contained in:
parent
712ee57190
commit
cb9ff89929
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ gst_section_filter_push (GstSectionFilter * filter, gboolean pusi, /* deter
|
||||||
}
|
}
|
||||||
filter->section_length = GST_READ_UINT16_BE (data + 1);
|
filter->section_length = GST_READ_UINT16_BE (data + 1);
|
||||||
filter->section_length &= 0x0fff;
|
filter->section_length &= 0x0fff;
|
||||||
if (filter->section_length > 1021) {
|
if (filter->section_length > 4093) {
|
||||||
GST_DEBUG ("section length too big");
|
GST_DEBUG ("section length too big");
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue