[Bug 796497] New: AccessViolationException when using webrtc.Emit

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 5 10:56:48 UTC 2018


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

            Bug ID: 796497
           Summary: AccessViolationException when using webrtc.Emit
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Windows
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-sharp
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: andy.green at datapath.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 372552
  --> https://bugzilla.gnome.org/attachment.cgi?id=372552&action=edit
Fix for pointer arithmetic error in DynamicSignal.cs

When iterating through the SignalQuery.n_params pointer array, the offset added
at each iteration is incorrect for all apart from the first iteration. The
current implementation only adds 1 byte to the base pointer for every
iteration, where it should be incremented by IntPtr.Size.

The bug occurs in
https://github.com/GStreamer/gstreamer-sharp/blob/master/sources/custom/DynamicSignal.cs
at line 386.

Attached is a patch to fix this error.

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