[Bug 780642] New: webrtcechoprobe: SIGFPE in case the webdsp element is activated before webrtcechoprobe

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 28 08:18:33 UTC 2017


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

            Bug ID: 780642
           Summary: webrtcechoprobe: SIGFPE in case the webdsp element is
                    activated before webrtcechoprobe
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gkiagia at tolabaki.gr
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 348866
  --> https://bugzilla.gnome.org/attachment.cgi?id=348866&action=edit
webrtcechoprobe: return from _read() early if the probe is not configured yet

In case webdsp is activated before webrtcechoprobe, the webrtcechoprobe crashes
in gst_webrtc_echo_probe_read() with SIGFPE because of self->info.bpf being 0
(i.e. the audio format has not been set yet).

The attached patch checks for a valid audio format and aborts early if this is
not the case.

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