Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glib2 for openSUSE:Factory checked in at 2021-08-11 11:47:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glib2 (Old) and /work/SRC/openSUSE:Factory/.glib2.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glib2" Wed Aug 11 11:47:03 2021 rev:241 rq:910437 version:2.68.3 Changes: -------- --- /work/SRC/openSUSE:Factory/glib2/glib2.changes 2021-07-30 23:22:32.783612038 +0200 +++ /work/SRC/openSUSE:Factory/.glib2.new.1899/glib2.changes 2021-08-11 11:47:12.321747352 +0200 @@ -1,0 +2,15 @@ +Wed Aug 4 15:17:41 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org> + +- Add 63e7864.patch: Fix build with glibc 2.34: use 3 parameters + for close_range (boo#1189088). + +------------------------------------------------------------------- +Fri Jul 30 08:33:40 UTC 2021 - Yifan Jiang <yfji...@suse.com> + +- Drop patches fixed upstream on SLE and Leap 15.4: + + glib2-add-support-for-slim-timezone-format.patch + + glib2-fix-6-days-until-the-end-of-the-month.patch + + glib2-CVE-2021-27218.patch + + glib2-CVE-2021-27219-add-g_memdup2.patch + +------------------------------------------------------------------- @@ -81,0 +97,18 @@ +Thu Mar 4 00:49:58 UTC 2021 - Alynx Zhou <alynx.z...@suse.com> + +- Add glib2-CVE-2021-27218.patch: g_byte_array_new_take takes a + gsize as length but stores in a guint, this patch will refuse if + the length is larger than guint. (bsc#1182328, + glgo#GNOME/glib!1944) + +------------------------------------------------------------------- +Wed Mar 3 01:17:16 UTC 2021 - Alynx Zhou <alynx.z...@suse.com> + + +- Add glib2-CVE-2021-27219-add-g_memdup2.patch: g_memdup takes a + guint as parameter and sometimes leads into an integer overflow, + so add a g_memdup2 function which uses gsize to replace it. + (bsc#1182362, glgo#GNOME/glib!1927, glgo#GNOME/glib!1933, + glgo#GNOME/glib!1943) + +------------------------------------------------------------------- @@ -161,2 +193,0 @@ -- Drop glib2-fix-6-days-until-the-end-of-the-month.patch: fixed - upstream. @@ -178,2 +208,0 @@ -- Drop glib2-CVE-2021-27218.patch: fixed upstream. -- Drop glib2-CVE-2021-27219-add-g_memdup2.patch: fixed upstream. @@ -189,17 +217,0 @@ -Wed Feb 10 01:17:16 UTC 2021 - Alynx Zhou <alynx.z...@suse.com> - -- Add glib2-CVE-2021-27219-add-g_memdup2.patch: g_memdup takes a - guint as parameter and sometimes leads into an integer overflow, - so add a g_memdup2 function which uses gsize to replace it. - (bsc#1182362, glgo#GNOME/glib!1927, glgo#GNOME/glib!1933, - glgo#GNOME/glib!1943) - -------------------------------------------------------------------- -Thu Feb 10 00:49:58 UTC 2021 - Alynx Zhou <alynx.z...@suse.com> - -- Add glib2-CVE-2021-27218.patch: g_byte_array_new_take takes a - gsize as length but stores in a guint, this patch will refuse if - the length is larger than guint. (bsc#1182328, - glgo#GNOME/glib!1944) - -------------------------------------------------------------------- @@ -280,0 +293,10 @@ +Fri Nov 6 07:12:20 UTC 2020 - Alynx Zhou <alynx.z...@suse.com> + +- Add patches to support for slim format of timezone (bsc#1178346): + + glib2-add-support-for-slim-timezone-format.patch: basic support + for slim format (glgo#GNOME/glib!1533). + + glib2-fix-6-days-until-the-end-of-the-month.patch: fix DST + incorrect end day when using slim format + (glgo#GNOME/glib!1683). + +------------------------------------------------------------------- @@ -359,2 +380,0 @@ -- Drop glib2-add-support-for-slim-timezone-format.patch: fixed - upstream. @@ -371,10 +390,0 @@ - -------------------------------------------------------------------- -Fri Oct 4 07:12:20 UTC 2020 - Alynx Zhou <alynx.z...@suse.com> - -- Add patches to support for slim format of timezone (bsc#1178346): - + glib2-add-support-for-slim-timezone-format.patch: basic support - for slim format (glgo#GNOME/glib!1533). - + glib2-fix-6-days-until-the-end-of-the-month.patch: fix DST - incorrect end day when using slim format - (glgo#GNOME/glib!1683). New: ---- 63e7864.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glib2.spec ++++++ --- /var/tmp/diff_new_pack.B6SqkI/_old 2021-08-11 11:47:13.061746461 +0200 +++ /var/tmp/diff_new_pack.B6SqkI/_new 2021-08-11 11:47:13.061746461 +0200 @@ -47,6 +47,8 @@ Patch3: glib2-dbus-socket-path.patch # PATCH-FIX-OPENSUSE glib2-gdbus-codegen-version.patch o...@aepfle.de -- Remove version string from files generated by gdbus-codegen Patch4: glib2-gdbus-codegen-version.patch +# PATCH-FIX-UPSTREAM 63e7864.patch boo#1189088 dims...@opensuse.org -- Fix build with glibc 2.34: use 3 parameters for close_range +Patch5: https://gitlab.gnome.org/GNOME/glib/-/commit/63e7864.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gamin-devel @@ -269,6 +271,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 cp -a %{SOURCE1} %{SOURCE2} %{SOURCE5} . cp -a %{SOURCE4} gnome_defaults.conf # replace /usr/bin/env shebangs ++++++ 63e7864.patch ++++++ >From 6e59d21b273f026e82adc56fecbec67d1ffa72a4 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.k...@gmail.com> Date: Thu, 8 Jul 2021 17:26:43 -0700 Subject: [PATCH] correctly use 3 parameters for close_range libc implementation has 3 parameter e.g. https://www.freebsd.org/cgi/man.cgi?query=close_range&sektion=2&format=html Signed-off-by: Khem Raj <raj.k...@gmail.com> --- glib/gspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gspawn.c b/glib/gspawn.c index 95f5b868e..a15fb1ca1 100644 --- a/glib/gspawn.c +++ b/glib/gspawn.c @@ -1494,7 +1494,7 @@ safe_closefrom (int lowfd) * * Handle ENOSYS in case it???s supported in libc but not the kernel; if so, * fall back to safe_fdwalk(). */ - if (close_range (lowfd, G_MAXUINT) != 0 && errno == ENOSYS) + if (close_range (lowfd, G_MAXUINT, 0) != 0 && errno == ENOSYS) #endif /* HAVE_CLOSE_RANGE */ (void) safe_fdwalk (close_func, GINT_TO_POINTER (lowfd)); #endif -- GitLab