All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: "Andreas Müller" <schnitzeltony@gmail.com>,
	openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH 01/17] giflib: upgrade 5.1.4 -> 5.2.1
Date: Fri, 21 May 2021 19:59:21 -0700	[thread overview]
Message-ID: <49c18c1b-9c00-a1c0-c2f5-c8070195dfc0@gmail.com> (raw)
In-Reply-To: <20210522013521.588774-1-schnitzeltony@gmail.com>



On 5/21/21 6:35 PM, Andreas Müller wrote:
> Checked sources: Back ported CVE-patch can go
> 
> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> ---
>   .../giflib/files/CVE-2019-15133.patch         | 23 -------------------
>   .../{giflib_5.1.4.bb => giflib_5.2.1.bb}      | 19 ++++++++-------
>   2 files changed, 11 insertions(+), 31 deletions(-)
>   delete mode 100644 meta-oe/recipes-devtools/giflib/files/CVE-2019-15133.patch
>   rename meta-oe/recipes-devtools/giflib/{giflib_5.1.4.bb => giflib_5.2.1.bb} (54%)
> 
> diff --git a/meta-oe/recipes-devtools/giflib/files/CVE-2019-15133.patch b/meta-oe/recipes-devtools/giflib/files/CVE-2019-15133.patch
> deleted file mode 100644
> index 9957be82f..000000000
> --- a/meta-oe/recipes-devtools/giflib/files/CVE-2019-15133.patch
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -From 799eb6a3af8a3dd81e2429bf11a72a57e541f908 Mon Sep 17 00:00:00 2001
> -From: "Eric S. Raymond" <esr@thyrsus.com>
> -Date: Sun, 17 Mar 2019 12:37:21 -0400
> -Subject: [PATCH] Address SF bug #119: MemorySanitizer: FPE on unknown address
> -
> ----
> - dgif_lib.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -Upstream-status: Backport [https://sourceforge.net/p/giflib/code/ci/799eb6a3af8a3dd81e2429bf11a72a57e541f908/]
> -CVE: CVE-2019-15133
> -
> ---- a/lib/dgif_lib.c	2021-01-13 19:28:18.923493586 +0100
> -+++ b/lib/dgif_lib.c	2021-01-13 19:28:55.245863085 +0100
> -@@ -1099,7 +1099,7 @@ DGifSlurp(GifFileType *GifFile)
> -
> -               sp = &GifFile->SavedImages[GifFile->ImageCount - 1];
> -               /* Allocate memory for the image */
> --              if (sp->ImageDesc.Width < 0 && sp->ImageDesc.Height < 0 &&
> -+              if (sp->ImageDesc.Width <= 0 && sp->ImageDesc.Height <= 0 &&
> -                       sp->ImageDesc.Width > (INT_MAX / sp->ImageDesc.Height)) {
> -                   return GIF_ERROR;
> -               }
> diff --git a/meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb b/meta-oe/recipes-devtools/giflib/giflib_5.2.1.bb
> similarity index 54%
> rename from meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb
> rename to meta-oe/recipes-devtools/giflib/giflib_5.2.1.bb
> index 1871bab46..cbb57782b 100644
> --- a/meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb
> +++ b/meta-oe/recipes-devtools/giflib/giflib_5.2.1.bb
> @@ -3,14 +3,18 @@ SECTION = "libs"
>   LICENSE = "MIT"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a"
>   
> -SRC_URI = " \
> -    ${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.bz2 \
> -    file://CVE-2019-15133.patch \
> -"
> -
>   CVE_PRODUCT = "giflib_project:giflib"
>   
> -inherit autotools
> +DEPENDS = "xmlto-native"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.gz"
> +SRC_URI[sha256sum] = "31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd"
> +
> +inherit autotools-brokensep
> +

do you know what broke out of tree builds ?

> +do_install() {
> +    oe_runmake DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} install
> +}
>   
>   PACKAGES += "${PN}-utils"
>   FILES_${PN} = "${libdir}/libgif.so.*"
> @@ -20,5 +24,4 @@ BBCLASSEXTEND = "native"
>   
>   RDEPENDS_${PN}-utils = "perl"
>   
> -SRC_URI[md5sum] = "2c171ced93c0e83bb09e6ccad8e3ba2b"
> -SRC_URI[sha256sum] = "df27ec3ff24671f80b29e6ab1c4971059c14ac3db95406884fc26574631ba8d5"
> +
> 
> 
> 
> 
> 

  parent reply	other threads:[~2021-05-22  2:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22  1:35 [PATCH 01/17] giflib: upgrade 5.1.4 -> 5.2.1 Andreas Müller
2021-05-22  1:35 ` [PATCH 02/17] gnuplot: upgrade 5.2.8 -> 5.4.1 Andreas Müller
2021-05-22  1:35 ` [PATCH 03/17] zsh: upgrade 5.4.2 -> 5.8 Andreas Müller
2021-05-22  1:35 ` [PATCH 04/17] ttf-lohit: upgrade 2 -> 2.92.1 Andreas Müller
2021-05-22  1:35 ` [PATCH 05/17] xrdp: upgrade 0.9.15 -> 0.9.16 Andreas Müller
2021-05-22  1:35 ` [PATCH 06/17] snappy: upgrade 1.1.8 -> 1.1.9 Andreas Müller
2021-05-22  1:35 ` [PATCH 07/17] redis: upgrade 6.2.2 -> 6.2.3 Andreas Müller
2021-05-22  1:35 ` [PATCH 08/17] remmina: upgrade 1.4.11 -> 1.4.17 Andreas Müller
2021-05-22  1:35 ` [PATCH 09/17] libpeas: upgrade 1.26.0 -> 1.30.0 Andreas Müller
2021-05-22  1:35 ` [PATCH 10/17] modemmanager: upgrade 1.16.2 -> 1.16.4 Andreas Müller
2021-05-22  1:35 ` [PATCH 11/17] mm-common: upgrade 1.0.2 -> 1.0.3 Andreas Müller
2021-05-22  1:35 ` [PATCH 12/17] protobuf: upgrade 3.15.2 -> 3.17.0 Andreas Müller
2021-05-22  1:35 ` [PATCH 13/17] protobuf-c: upgrade 1.3.3 -> 1.4.0 Andreas Müller
2021-05-22 12:44   ` [oe] " Khem Raj
2021-05-22 15:15     ` Andreas Müller
2021-05-22  1:35 ` [PATCH 14/17] qpdf: upgrade 10.2.0 -> 10.3.2 Andreas Müller
2021-05-22  1:35 ` [PATCH 15/17] libmxml: upgrade 3.1 -> 3.2 Andreas Müller
2021-05-22  1:35 ` [PATCH 16/17] libeigen: upgrade 3.3.7 -> 3.3.7 Andreas Müller
2021-05-22  8:36   ` [oe] " Jose Quaresma
2021-05-22  9:10     ` Andreas Müller
2021-05-22  1:35 ` [PATCH 17/17] libgusb: upgrade 0.3.5 -> 0.3.6 Andreas Müller
2021-05-22  2:59 ` Khem Raj [this message]
2021-05-22  8:28   ` [oe] [PATCH 01/17] giflib: upgrade 5.1.4 -> 5.2.1 Andreas Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49c18c1b-9c00-a1c0-c2f5-c8070195dfc0@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=schnitzeltony@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.