mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
gst/avi/gstavimux.c: Don't segfault on string typed tags being NULL. Fixes #560155.
Original commit message from CVS: * gst/avi/gstavimux.c: Don't segfault on string typed tags being NULL. Fixes #560155.
This commit is contained in:
parent
e8a21443f1
commit
15649903aa
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-11-11 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/avi/gstavimux.c:
|
||||
Don't segfault on string typed tags being NULL. Fixes #560155.
|
||||
|
||||
2008-11-10 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
|
||||
|
||||
* gst/matroska/matroska-mux.c: (aac_codec_data_to_codec_id),
|
||||
|
|
|
@ -930,7 +930,7 @@ gst_avi_mux_write_tag (const GstTagList * list, const gchar * tag,
|
|||
|
||||
for (n = 0; rifftags[n].fcc != 0; n++) {
|
||||
if (!strcmp (rifftags[n].tag, tag) &&
|
||||
gst_tag_list_get_string (list, tag, &str)) {
|
||||
gst_tag_list_get_string (list, tag, &str) && str) {
|
||||
len = strlen (str);
|
||||
plen = len + 1;
|
||||
if (plen & 1)
|
||||
|
|
Loading…
Reference in a new issue