diff --git a/gst-libs/gst/mpegts/gstmpegtssection.c b/gst-libs/gst/mpegts/gstmpegtssection.c index 02038a76a0..5222024f4f 100644 --- a/gst-libs/gst/mpegts/gstmpegtssection.c +++ b/gst-libs/gst/mpegts/gstmpegtssection.c @@ -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 */