[Bug 703283] crash: gst_date_time_new: assertion `(month > 0 && month <= 12) || month == -1' failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 30 02:49:26 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=703283
  GStreamer | gstreamer (core) | 1.0.6

--- Comment #4 from Marcin Lewandowski <marcin at saepia.net> 2013-06-30 09:49:21 UTC ---
Created an attachment (id=248081)
 View: https://bugzilla.gnome.org/attachment.cgi?id=248081
 Review: https://bugzilla.gnome.org/review?bug=703283&attachment=248081

Ignore malformed TDAT frames while parsing ID3v2 tags

It seems that problem is related to parsing TDAT frames in ID3v2 tag parser.

It assumes that data in the TDAT frame is in correct MMDD format. Then at some
point it passes parsed values without any sanity checks to gst_date_time_new()
which has assertion that causes crash.

Attached patch is an attempt to solve this problem. Now Gst will ignore
malformed TDAT frames.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list