mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
Changed a >= test to a > on the input buffer size in gst_tag_list_from_vorbiscomment_buffer. This was preventing the ...
Original commit message from CVS: Changed a >= test to a > on the input buffer size in gst_tag_list_from_vorbiscomment_buffer. This was preventing the parsing of vorbiscomments not ending with a sync byte (which seems to happen in flac files)
This commit is contained in:
parent
8b84e06993
commit
9f8cc91227
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ gst_tag_list_from_vorbiscomment_buffer (const GstBuffer *buffer, const guint8 *i
|
||||||
cur_size = GUINT32_FROM_LE (*((guint32 *) data)); \
|
cur_size = GUINT32_FROM_LE (*((guint32 *) data)); \
|
||||||
data += 4; \
|
data += 4; \
|
||||||
size -= 4; \
|
size -= 4; \
|
||||||
if (cur_size >= size) goto error; \
|
if (cur_size > size) goto error; \
|
||||||
cur = data; \
|
cur = data; \
|
||||||
}G_STMT_END
|
}G_STMT_END
|
||||||
gchar *cur, *value;
|
gchar *cur, *value;
|
||||||
|
|
Loading…
Reference in a new issue