[gstreamer-bugs] [Bug 314708] New: filesrc doesn't set GST_BUFFER_FLAG_READONLY on mmaped buffers

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Aug 28 06:25:35 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=314708
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: filesrc doesn't set GST_BUFFER_FLAG_READONLY on mmaped
                    buffers
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: alessandro at nnva.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


in gst/elements/filesrc.c:504
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_READONLY) is commented.
That makes gst_buffer_make_writable (buf) return the same buffer
and not a copy of it, causing a segfault when modifying the buffer.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list