[Bug 777265] riff: stack overflow in gst_riff_create_audio_caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jan 15 17:44:16 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=777265

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 343506
  --> https://bugzilla.gnome.org/attachment.cgi?id=343506&action=edit
riff-media: Don't recurse in for nested WAVEFORMATEX

There was already a check for that, but it failed because
subformat_guid[0] is a guint32 and that is then casted implicitely to a
guint16 when recursing... just that we checked the uncasted value.

This caused an infinite recursion and thus stack overflow.

-- 
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