diff options
Diffstat (limited to 'gst-libs/gst/mpegts/gstmpegtssection.c')
-rw-r--r-- | gst-libs/gst/mpegts/gstmpegtssection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/mpegts/gstmpegtssection.c b/gst-libs/gst/mpegts/gstmpegtssection.c index 02038a76a..5222024f4 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 */ |