From bf5f3a396433d40fe8d24dfebc102ea4fd64360d Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 18 Nov 2009 12:53:44 +0100 Subject: [PATCH] qtdemux: fix bogus memory chunk size check --- gst/qtdemux/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 94ca1fd..720f68c 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -5237,7 +5237,7 @@ qtdemux_tag_add_location (GstQTDemux * qtdemux, const char *tag, g_free (name); } - if (len <= offset + 2 + 4 + 4 + 4) + if (len < offset + 2 + 4 + 4 + 4) goto short_read; /* +1 +1 = skip null-terminator and location role byte */ -- 2.7.4