Package: gst-plugins-bad1.0 / 1.4.4-2.1+deb8u2

Metadata

Package Version Patches format
gst-plugins-bad1.0 1.4.4-2.1+deb8u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_fix modplug linking.patch | (download)

ext/modplug/Makefile.am | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 tell libtool not to deduplicate linked libraries which causes problems in the case of circular deps. force -lc to be added at the end.
02_opencv linking.patch | (download)

ext/opencv/Makefile.am | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

---
03_64bit cast.patch | (download)

sys/dvb/dvbbasebin.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 dvbbasebin: fix possible crash by passing 64 bits for 64-bit queue
 property

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


04 vmncdec Sanity check width height before using it.patch | (download)

gst/vmnc/vmncdec.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 [patch] vmncdec: sanity-check width/height before using it

We will allocate a screen area of width*height*bpp bytes, however this
calculation can easily overflow if too high width or height are given
inside the stream. Nonetheless we would just assume that enough memory
was allocated, try to fill it and overwrite as much memory as wanted.

Also allocate the screen area filled with zeroes to ensure that we start
with full-black and not any random (or not so random) data.

https://scarybeastsecurity.blogspot.gr/2016/11/0day-poc-risky-design-decisions-in.html

Ideally we should just remove this plugin in favour of the one in
gst-libav, which generally seems to be of better code quality.

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

0001 psdemux Rewrite PSM parsing using GstByteReader.patch | (download)

gst/mpegdemux/Makefile.am | 2 1 + 1 - 0 !
gst/mpegdemux/gstmpegdemux.c | 285 136 + 149 - 0 !
2 files changed, 137 insertions(+), 150 deletions(-)

 [patch] psdemux: rewrite psm parsing using gstbytereader

Avoid possible buffer overflows and ignore invalid PSM packets better
by using GstByteReader.

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

0002 mxfdemux Set stream tags to NULL after unreffing.patch | (download)

gst/mxf/mxfdemux.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] mxfdemux: set stream tags to null after unreffing

Otherwise we might try to unref them a second time a little bit later.

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

0003 mpegtssection Fix PAT parsing.patch | (download)

gst-libs/gst/mpegts/gstmpegtssection.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 [patch] mpegtssection: fix pat parsing

Use the estimated number of programs for parsing. Avoids over-reading.

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

0004 mpegtssection Add more section size checks.patch | (download)

gst-libs/gst/mpegts/gstmpegtssection.c | 23 22 + 1 - 0 !
1 file changed, 22 insertions(+), 1 deletion(-)

 [patch] mpegtssection: add more section size checks

The smallest section ever needs to be at least 3 bytes (i.e. just the short
header).
Non-short headers need to be at least 11 bytes long (3 for the minimum header,
5 for the non-short header, and 4 for the CRC).

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

0005 h264parse Ensure codec_data has the required size wh.patch | (download)

gst/videoparsers/gsth264parse.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] h264parse: ensure codec_data has the required size when
 reading number of SPS

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

0006 h265parse Ensure codec_data has the required size wh.patch | (download)

gst/videoparsers/gsth265parse.c | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 [patch] h265parse: ensure codec_data has the required size when
 reading number of NAL arrays

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