Hello community, here is the log from the commit of package glib2 for openSUSE:Factory checked in at 2019-10-30 14:39:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glib2 (Old) and /work/SRC/openSUSE:Factory/.glib2.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glib2" Wed Oct 30 14:39:11 2019 rev:217 rq:742525 version:2.62.2 Changes: -------- --- /work/SRC/openSUSE:Factory/glib2/glib2.changes 2019-10-17 12:58:53.089366713 +0200 +++ /work/SRC/openSUSE:Factory/.glib2.new.2990/glib2.changes 2019-10-30 14:39:11.361631420 +0100 @@ -1,0 +2,13 @@ +Mon Oct 21 17:28:20 UTC 2019 - Bjørn Lie <[email protected]> + +- Update to version 2.62.2: + + Bugs fixed: + - glgo#GNOME/GLib#1896: Use after free when calling + g_dbus_connection_flush_sync() in a dedicated thread. + - glgo#GNOME/GLib!1154: Backport glgo#GNOME/GLib!1152 + “gwinhttpvfs: Handle g_get_prgname() returning NULL” to + glib-2-62. + - glgo#GNOME/GLib!1156: Backport glgo#GNOME/GLib!1146 Solaris + fixes to glib-2-62. + +------------------------------------------------------------------- Old: ---- glib-2.62.1.tar.xz New: ---- glib-2.62.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glib2.spec ++++++ --- /var/tmp/diff_new_pack.WPtGXi/_old 2019-10-30 14:39:13.477633674 +0100 +++ /var/tmp/diff_new_pack.WPtGXi/_new 2019-10-30 14:39:13.477633674 +0100 @@ -19,7 +19,7 @@ # systemtap is only offered as build-option, but not enabled, as it causes a build cycle %bcond_with systemtap Name: glib2 -Version: 2.62.1 +Version: 2.62.2 Release: 0 Summary: General-Purpose Utility Library License: LGPL-2.1-or-later ++++++ glib-2.62.1.tar.xz -> glib-2.62.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-2.62.1/NEWS new/glib-2.62.2/NEWS --- old/glib-2.62.1/NEWS 2019-10-04 13:44:23.000000000 +0200 +++ new/glib-2.62.2/NEWS 2019-10-21 19:18:40.000000000 +0200 @@ -1,3 +1,12 @@ +Overview of changes in GLib 2.62.2 +================================== + +* Bugs fixed: + - #1896 Use after free when calling g_dbus_connection_flush_sync() in a dedicated thread + - !1154 Backport !1152 “gwinhttpvfs: Handle g_get_prgname() returning NULL” to glib-2-62 + - !1156 Backport !1146 Solaris fixes to glib-2-62 + + Overview of changes in GLib 2.62.1 ================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-2.62.1/gio/gdbusprivate.c new/glib-2.62.2/gio/gdbusprivate.c --- old/glib-2.62.1/gio/gdbusprivate.c 2019-10-04 13:44:23.000000000 +0200 +++ new/glib-2.62.2/gio/gdbusprivate.c 2019-10-21 19:18:40.000000000 +0200 @@ -408,6 +408,7 @@ GMutex mutex; GCond cond; guint64 number_to_wait_for; + gboolean finished; GError *error; } FlushData; @@ -1158,6 +1159,7 @@ f->error = error != NULL ? g_error_copy (error) : NULL; g_mutex_lock (&f->mutex); + f->finished = TRUE; g_cond_signal (&f->cond); g_mutex_unlock (&f->mutex); } @@ -1787,6 +1789,7 @@ g_mutex_init (&data->mutex); g_cond_init (&data->cond); data->number_to_wait_for = worker->write_num_messages_written + pending_writes; + data->finished = FALSE; g_mutex_lock (&data->mutex); schedule_writing_unlocked (worker, NULL, data, NULL); @@ -1796,14 +1799,10 @@ if (data != NULL) { /* Wait for flush operations to finish. */ - g_mutex_lock (&worker->write_lock); - while (worker->write_num_messages_flushed < data->number_to_wait_for) + while (!data->finished) { - g_mutex_unlock (&worker->write_lock); g_cond_wait (&data->cond, &data->mutex); - g_mutex_lock (&worker->write_lock); } - g_mutex_unlock (&worker->write_lock); g_mutex_unlock (&data->mutex); g_cond_clear (&data->cond); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-2.62.1/gio/gunixmounts.c new/glib-2.62.2/gio/gunixmounts.c --- old/glib-2.62.1/gio/gunixmounts.c 2019-10-04 13:44:23.000000000 +0200 +++ new/glib-2.62.2/gio/gunixmounts.c 2019-10-21 19:18:40.000000000 +0200 @@ -165,6 +165,9 @@ #endif #elif defined (HAVE_SYS_MNTTAB_H) #include <sys/mnttab.h> +#if defined(__sun) && !defined(mnt_opts) +#define mnt_opts mnt_mntopts +#endif #endif #ifdef HAVE_SYS_VFSTAB_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-2.62.1/gio/win32/gwinhttpvfs.c new/glib-2.62.2/gio/win32/gwinhttpvfs.c --- old/glib-2.62.1/gio/win32/gwinhttpvfs.c 2019-10-04 13:44:23.000000000 +0200 +++ new/glib-2.62.2/gio/win32/gwinhttpvfs.c 2019-10-21 19:18:40.000000000 +0200 @@ -121,12 +121,13 @@ g_winhttp_vfs_init (GWinHttpVfs *vfs) { wchar_t *wagent; + const gchar *prgname = g_get_prgname (); vfs->wrapped_vfs = g_vfs_get_local (); - wagent = g_utf8_to_utf16 (g_get_prgname (), -1, NULL, NULL, NULL); - - if (!wagent) + if (prgname) + wagent = g_utf8_to_utf16 (prgname, -1, NULL, NULL, NULL); + else wagent = g_utf8_to_utf16 ("GWinHttpVfs", -1, NULL, NULL, NULL); vfs->session = (G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpOpen) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-2.62.1/meson.build new/glib-2.62.2/meson.build --- old/glib-2.62.1/meson.build 2019-10-04 13:44:24.000000000 +0200 +++ new/glib-2.62.2/meson.build 2019-10-21 19:18:40.000000000 +0200 @@ -1,5 +1,5 @@ project('glib', 'c', 'cpp', - version : '2.62.1', + version : '2.62.2', # NOTE: We keep this pinned at 0.49 because that's what Debian 10 ships meson_version : '>= 0.49.2', default_options : [ @@ -2027,6 +2027,8 @@ export_dynamic_ldflags = ['-Wl,--export-all-symbols'] elif host_system == 'darwin' export_dynamic_ldflags = [] +elif host_system == 'sunos' + export_dynamic_ldflags = [] else export_dynamic_ldflags = ['-Wl,--export-dynamic'] endif
