[Bug 726801] New: rfbsrc: specifying out-of-bounds resolution leads to segfault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 20 15:52:09 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726801
  GStreamer | gst-plugins-bad | 1.x

           Summary: rfbsrc: specifying out-of-bounds resolution leads to
                    segfault
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: blake.tregre at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=272527)
 View: https://bugzilla.gnome.org/attachment.cgi?id=272527
 Review: https://bugzilla.gnome.org/review?bug=726801&attachment=272527

patch which clamps resolution

When using rfbsrc, setting offset properties (offset-x, offset-y) or rectangle
size properties (width, height) to values greater than what the VNC server
provides causes a segfault.  I'm attaching a patch that prevents the crash by
clamping the values just after the connection is made.  

The same problem exists in 0.10, and the same patch applies cleanly, fixing the
problem.

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