[oe] [PATCH 5/6] gmime: upgrade 3.2.4 -> 3.2.5

Andreas Müller schnitzeltony at gmail.com
Sun Nov 17 21:13:05 UTC 2019


>From gmime-3.2.5.news [1]:
*  Modified GMimeParser to prevent stack overflows when parsing deeply nested messages.

     GMimeParser now has a limit on how deep multipart and/or message/rfc822 MIME part
     nesting is allowed to go before the parser will take action to prevent a stack
     overflow. If the max level is reached at a message/rfc822 part, then that part
     will be consumed by the parser as a generic GMimePart rather than a
     GMimeMessagePart. Likewise, if the max level is reached at any type of multipart,
     then the content of said multipart will be packed into the GMimeMultipart's
     preface and not parsed any further.

* g_mime_multipart_foreach has been rewritten to avoid recursion, thereby avoiding potential
  stack overflows.

* The gmime-port-2-6-to-3-0.sh script has been fixed to use proper sed syntax.

[1] http://ftp.gnome.org/pub/gnome/sources/gmime/3.2/gmime-3.2.5.news

Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
---
 .../recipes-gnome/gmime/{gmime_3.2.4.bb => gmime_3.2.5.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-gnome/gmime/{gmime_3.2.4.bb => gmime_3.2.5.bb} (72%)

diff --git a/meta-oe/recipes-gnome/gmime/gmime_3.2.4.bb b/meta-oe/recipes-gnome/gmime/gmime_3.2.5.bb
similarity index 72%
rename from meta-oe/recipes-gnome/gmime/gmime_3.2.4.bb
rename to meta-oe/recipes-gnome/gmime/gmime_3.2.5.bb
index 205868eec..568083bf3 100644
--- a/meta-oe/recipes-gnome/gmime/gmime_3.2.4.bb
+++ b/meta-oe/recipes-gnome/gmime/gmime_3.2.5.bb
@@ -9,8 +9,8 @@ inherit gnomebase gobject-introspection
 SRC_URI += "file://iconv-detect.h \
             file://nodolt.patch"
 
-SRC_URI[archive.md5sum] = "b6b4e9fdc8f3336551d23872c83b539a"
-SRC_URI[archive.sha256sum] = "249ea7c0e080b067aa9669162c36b181b402f6cf6cebc4999d838c6f1e81d024"
+SRC_URI[archive.md5sum] = "98970e3995e67ac3f23827ff52308f9e"
+SRC_URI[archive.sha256sum] = "fb7556501f85c3bf3e65fdd82697cbc4fa4b55dccd33ad14239ce0197e78ba59"
 
 export ac_cv_have_iconv_detect_h="yes"
 do_configure_append = "cp ${WORKDIR}/iconv-detect.h ${S}"
-- 
2.21.0



More information about the Openembedded-devel mailing list