Skip to contentSkip to conversation

libvpx: avoid CVE-2015-1258

PATCH In review Andreas Müller 2 participants 3 messages Oct 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libvpx: avoid CVE-2015-1258

[1] https://security-tracker.debian.org/tracker/CVE-2015-1258
[2] http://pkgs.fedoraproject.org/cgit/libvpx.git/commit/?id=4257ff5f4ac22a3fe7b34f441e6425b2a8b690ae

---
 meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb +1 -0
index 4d9d2fd..5d049bb 100644
@@ -37,6 +37,7 @@ CONFIGUREOPTS = " \
     --enable-shared \
     --prefix=${prefix} \
     --libdir=${libdir} \
+    --size-limit=16384x16384 \
 "
 
 do_configure() {
Signature · 1 line
2.1.0
#1 lore raw

PATCH 2/2 libsdl2-image: Initial add 2.0.0

---
 .../libsdl-image/libsdl2-image_2.0.0.bb            | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.0.bb
meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.0.bb new file +31 -0
new file mode 100644
index 0000000..a6885da
@@ -0,0 +1,31 @@
+SUMMARY = "Simple DirectMedia Layer image library v2"
+SECTION = "libs"
+
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=8f66a2e45aa301ea73b5ab275aeb0702"
+
+DEPENDS = "tiff zlib libpng jpeg virtual/libsdl2 libwebp"
+
+SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz"
+SRC_URI[md5sum] = "fb399c8386fb3248f1b33cfe81bdf92b"
+SRC_URI[sha256sum] = "b29815c73b17633baca9f07113e8ac476ae66412dec0d29a5045825c27a47234"
+
+S = "${WORKDIR}/SDL2_image-${PV}"
+
+inherit autotools pkgconfig
+
+# Disable the run-time loading of the libs and bring back the soname dependencies.
+EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
+
+do_configure_prepend() {
+    # make autoreconf happy
+    touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
+    # Removing these files fixes a libtool version mismatch.
+    rm -f ${S}/acinclude/libtool.m4
+    rm -f ${S}/acinclude/sdl2.m4
+    rm -f ${S}/acinclude/pkg.m4
+    rm -f ${S}/acinclude/lt~obsolete.m4
+    rm -f ${S}/acinclude/ltoptions.m4
+    rm -f ${S}/acinclude/ltsugar.m4
+    rm -f ${S}/acinclude/ltversion.m4
+}
Signature · 1 line
2.1.0
#2 lore raw
In reply to Andreas Müller

same version in fido and dizzy.

will add to queue.

- armin

Quoted 21 lines · Andreas Müller

[1] https://security-tracker.debian.org/tracker/CVE-2015-1258
[2] http://pkgs.fedoraproject.org/cgit/libvpx.git/commit/?id=4257ff5f4ac22a3fe7b34f441e6425b2a8b690ae

---
 meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb +1 -0
index 4d9d2fd..5d049bb 100644
@@ -37,6 +37,7 @@ CONFIGUREOPTS = " \
     --enable-shared \
     --prefix=${prefix} \
     --libdir=${libdir} \
+    --size-limit=16384x16384 \
 "
 
 do_configure() {