[gstreamer-bugs] [Bug 585660] New: segfault in scaletempo plugin

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jun 13 09:20:21 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=585660

  GStreamer | gst-plugins-bad | Ver: git
           Summary: segfault in scaletempo plugin
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pbmaxi at hoegners.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


scaletempo plugin segfaults on some machines when playing at rates other than
1.0:

http://sourceforge.net/tracker/?func=detail&aid=2104199&group_id=220192&atid=1048723

Line 233 in gstscaletempo.c
(http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst/scaletempo/gstscaletempo.c#n233)
must be changed from

i = -(p->samples_overlap - p->samples_per_frame);

to

i = -((glong)p->samples_overlap - (glong)p->samples_per_frame);

Otherwise i won't be a negative number as intended. This is because
p->samples_overlap and p->samples_per_frame are both unsigned.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=585660.




More information about the Gstreamer-bugs mailing list