[Bug 748162] New: Can't seek to the offset which is bigger than 4G bytes in push mode

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 19 22:33:51 PDT 2015


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

            Bug ID: 748162
           Summary: Can't seek to the offset which is bigger than 4G bytes
                    in push mode
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kaitmania at empal.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The seek operation to the offset over 4G bytes fails due to the wrong
calculation of offset.
Asfdemux didn't care that a multiplication between two 32-Bit variables can
result in out-of-range. See the below codes.

gst_asf_demux_handle_seek_push (GstASFDemux * demux, GstEvent * event)
{
...
  cur = demux->data_offset + (packet * demux->packet_size);
...
}

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