mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
qtdemux: fix bogus memory chunk size check
This commit is contained in:
parent
f85cf3e200
commit
bf5f3a3964
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue