Bug#537392: gstreamer0.10-plugins-bad: Integer overflow in MPEG demuxer

Matijs van Zuijlen Matijs.van.Zuijlen at xs4all.nl
Fri Jul 17 18:14:27 UTC 2009


Package: gstreamer0.10-plugins-bad
Version: 0.10.13-1
Severity: normal

When playing an mpeg file (in totem-gstreamer), the contents beyond about
4GB is not shown. Instead, the beginning of the file is shown again. This
is due to a guint being used where a guint64 should be used, for the
position in the file. The attached patch fixes this issue.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gstreamer0.10-plugins-bad depends on:
ii  gstreamer0.10-plugins-base  0.10.23-3    GStreamer plugins from the "base" 
ii  libasound2                  1.0.20-3     shared library for ALSA applicatio
ii  libass3                     0.9.6-1      library for SSA/ASS subtitles rend
ii  libbz2-1.0                  1.0.5-3      high-quality block-sorting file co
ii  libc6                       2.9-20       GNU C Library: Shared libraries
ii  libcdaudio1                 0.99.12p2-7  library for controlling a CD-ROM w
ii  libcelt0                    0.4.0-1      The CELT codec runtime library
ii  libdc1394-22                2.1.2-1      high level programming interface f
ii  libdca0                     0.0.5-3      decoding library for DTS Coherent 
ii  libdirectfb-1.2-0           1.2.7-2      direct frame buffer graphics - sha
ii  libdvdnav4                  4.1.3-3      DVD navigation library
ii  libdvdread4                 4.1.3-5      library for reading DVDs
ii  libexempi3                  2.1.1-1      library to parse XMP metadata (Lib
ii  libexif12                   0.6.17-1     library to parse EXIF files
ii  libfaad0                    2.6.1-3.1    freeware Advanced Audio Decoder - 
ii  libgcc1                     1:4.4.0-11   GCC support library
ii  libglib2.0-0                2.20.4-1     The GLib library of C routines
ii  libgmyth0                   1:0.7.1-1.1  GObject based library for accessin
ii  libgsm1                     1.0.12-1     Shared libraries for GSM speech co
ii  libgstreamer-plugins-base0. 0.10.23-3    GStreamer libraries from the "base
ii  libgstreamer0.10-0          0.10.23-2    Core GStreamer libraries and eleme
ii  libiptcdata0                1.0.3-1      Library to parse IPTC metadata
ii  libjack0                    0.116.1-4    JACK Audio Connection Kit (librari
ii  libjasper1                  1.900.1-6    The JasPer JPEG-2000 runtime libra
ii  libmms0                     0.4-2        MMS stream protocol library - shar
ii  libmodplug0c2               1:0.8.7-1    shared libraries for mod music bas
ii  libmpcdec3                  1:1.2.2-2.1  Musepack (MPC) format library
ii  libmusicbrainz4c2a          2.1.5-2      Second generation incarnation of t
ii  libneon27-gnutls            0.28.4-3     An HTTP and WebDAV client library 
ii  libofa0                     0.9.3-3      Library for acoustic fingerprintin
ii  liboil0.3                   0.3.16-1     Library of Optimized Inner Loops
ii  libsndfile1                 1.0.20-1     Library for reading/writing audio 
ii  libsoundtouch1c2            1.3.1-2      sound stretching library
ii  libssl0.9.8                 0.9.8k-3     SSL shared libraries
ii  libstdc++6                  4.4.0-11     The GNU Standard C++ Library v3
ii  libwildmidi0                0.2.2-2      software MIDI player library
ii  libx11-6                    2:1.2.1-1    X11 client-side library
ii  libxml2                     2.7.3.dfsg-2 GNOME XML library

gstreamer0.10-plugins-bad recommends no packages.

gstreamer0.10-plugins-bad suggests no packages.

-- no debconf information
-------------- next part --------------
--- gst-plugins-bad0.10-0.10.13/gst/mpegdemux/gstmpegdemux.c.orig	2009-07-17 12:40:01.000000000 +0200
+++ gst-plugins-bad0.10-0.10.13/gst/mpegdemux/gstmpegdemux.c	2009-07-17 12:24:14.000000000 +0200
@@ -2540,7 +2540,7 @@
 {
   GstFluPSDemux *demux;
   GstFlowReturn ret = GST_FLOW_OK;
-  guint offset = 0;
+  guint64 offset = 0;
 
   demux = GST_FLUPS_DEMUX (gst_pad_get_parent (pad));
 


More information about the Pkg-gstreamer-maintainers mailing list