gstreamer/gst-libs/gst/tag
Sebastian Dröge 7095b7c47a id3tag: Correctly validate the year from v1 tags before passing to GstDateTime
By using strtoul(), invalid values will get mapped to MAXULONG and we
would have to check errno. They won't get mapped to 0.

To solve this, use the signed g_ascii_strtoll(). This will map errors to
0 or G_MAXINT64 or G_MININT64, and the valid range for GstDateTime is >
0 and <= 9999 so we can directly check for this here.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/384
2019-04-26 09:46:58 +03:00
..
gstexiftag.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
gstid3tag.c id3tag: Correctly validate the year from v1 tags before passing to GstDateTime 2019-04-26 09:46:58 +03:00
gsttagdemux.c tagdemux: Use upstream GST_EVENT_STREAM_START if present 2018-09-27 15:09:06 +02:00
gsttagdemux.h tag: GST_EXPORT -> GST_TAG_API 2018-03-13 12:16:42 +00:00
gsttageditingprivate.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gsttageditingprivate.h Fix FSF address 2012-11-03 23:05:09 +00:00
gsttagmux.c tag: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:03:27 +02:00
gsttagmux.h tag: GST_EXPORT -> GST_TAG_API 2018-03-13 12:16:42 +00:00
gstvorbistag.c tag: fix some GIR annotations 2018-04-13 20:19:08 +02:00
gstxmptag.c tag: fix some GIR annotations 2018-04-13 20:19:08 +02:00
id3v2.3.0.txt various: typo fixes 2011-12-02 12:03:27 +01:00
id3v2.4.0-frames.txt various: typo fixes 2011-12-02 12:03:27 +01:00
id3v2.4.0-structure.txt various: typo fixes 2011-12-02 12:03:27 +01:00
id3v2.c id3v2: re-fix handling of v2.4 extended headers 2018-03-01 12:42:10 +00:00
id3v2.h tag: GST_EXPORT -> GST_TAG_API 2018-03-13 12:16:42 +00:00
id3v2frames.c No need for newlines in debug log statements 2017-04-12 09:58:49 +01:00
lang-tables.dat tag: add license to generated backup language name table and update 2018-08-12 13:24:39 +01:00
lang.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
license-translations.dict tag: add convenience API to handle creative commons licenses 2011-08-10 10:33:47 +01:00
licenses-tables.dat tag: add convenience API to handle creative commons licenses 2011-08-10 10:33:47 +01:00
licenses.c tag: Generate GLib enums/flags with glib-mkenums 2017-04-09 12:51:52 +03:00
Makefile.am libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
meson.build Check for zlib header 2018-11-22 20:03:33 -05:00
mklangtables.c tag: add license to generated backup language name table and update 2018-08-12 13:24:39 +01:00
mklicensestables.c tag: fix some warnings in mklicensestables 2016-11-23 10:20:04 +02:00
tag-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
tag.h tag: GST_EXPORT -> GST_TAG_API 2018-03-13 12:16:42 +00:00
tags.c tag: fix some GIR annotations 2018-04-13 20:19:08 +02:00
xmpwriter.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
xmpwriter.h tag: GST_EXPORT -> GST_TAG_API 2018-03-13 12:16:42 +00:00