[Bug 777265] New: riff: stack overflow in gst_riff_create_audio_caps

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


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

            Bug ID: 777265
           Summary: riff: stack overflow in gst_riff_create_audio_caps
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hanno at hboeck.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 343491
  --> https://bugzilla.gnome.org/attachment.cgi?id=343491&action=edit
poc file

An endless recursion leading to a stack overflow:
==10305==ERROR: AddressSanitizer: stack-overflow on address 0x7f9ef214cfe0 (pc
0x7f9effc89a7c bp 0x7f9ef214d230 sp 0x7f9ef214cfe0 T2)
    #0 0x7f9effc89a7b in _get_merged_memory
/f/gstreamer/gstreamer/gst/gstbuffer.c:208
    #1 0x7f9effc8f57e in gst_buffer_map_range
/f/gstreamer/gstreamer/gst/gstbuffer.c:1732:9
    #2 0x7f9ef2963845 in gst_riff_create_audio_caps
/f/gstreamer/gst-plugins-base/gst-libs/gst/riff/riff-media.c:1600:7
    #3 0x7f9ef2965c6f in gst_riff_create_audio_caps
/f/gstreamer/gst-plugins-base/gst-libs/gst/riff/riff-media.c:1721:18
    #4 0x7f9ef2965c6f in gst_riff_create_audio_caps
/f/gstreamer/gst-plugins-base/gst-libs/gst/riff/riff-media.c:1721:18
    #5 0x7f9ef2965c6f in gst_riff_create_audio_caps
/f/gstreamer/gst-plugins-base/gst-libs/gst/riff/riff-media.c:1721:18

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