mpegtssection: Fix off-by-one in PMT parsing
This commit is contained in:
parent
911a6083c8
commit
57bb47f3f7
@ -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…
x
Reference in New Issue
Block a user