GLib merge requestshttps://gitlab.gnome.org/GNOME/glib/-/merge_requests2021-12-02T10:12:22Zhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2312Backport !2265 “gdbusconnection: Fix race between method calls and object unr...2021-12-02T10:12:22ZPhilip WithnallBackport !2265 “gdbusconnection: Fix race between method calls and object unregistration” to glib-2-70Trivial backport of !2265 to `glib-2-70`.
Fixes: #2400Trivial backport of !2265 to `glib-2-70`.
Fixes: #24002.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2313Backport !2260 “GWin32AppInfo: Remove assertion on the opened registry key” t...2021-11-01T15:34:56ZPhilip WithnallBackport !2260 “GWin32AppInfo: Remove assertion on the opened registry key” to glib-2-70Relax assertion about opened registry key as it may have been removed
in the meantime between enumeration and when opening, or (more likely)
we may not have the required permissions to open the some enumerated
keys (i.e. RegOpenKeyExW fa...Relax assertion about opened registry key as it may have been removed
in the meantime between enumeration and when opening, or (more likely)
we may not have the required permissions to open the some enumerated
keys (i.e. RegOpenKeyExW fails and returns ERROR_ACCESS_DENIED).
Fixes https://gitlab.com/inkscape/inbox/-/issues/5669
---
Trivial backport of !2260 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2314Backport !2308 “gthread-win32: Remove an unnecessary volatile qualifier” to g...2021-11-01T12:36:25ZPhilip WithnallBackport !2308 “gthread-win32: Remove an unnecessary volatile qualifier” to glib-2-70Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
---
Trivial backport of !2308 to `glib-2-70`.Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
---
Trivial backport of !2308 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2316Backport !2309 “Rename libpcre.wrap to pcre.wrap” to glib-2-702021-11-11T17:00:38ZPhilip WithnallBackport !2309 “Rename libpcre.wrap to pcre.wrap” to glib-2-70It is exactly the same wrap as the one in WrapDB but with a different
name. That fix error when multiple projects uses pcre and they don't
have the same wrap name:
meson.build:1:0: ERROR: Multiple wrap files provide 'libpcre' dependency...It is exactly the same wrap as the one in WrapDB but with a different
name. That fix error when multiple projects uses pcre and they don't
have the same wrap name:
meson.build:1:0: ERROR: Multiple wrap files provide 'libpcre' dependency: pcre.wrap and libpcre.wrap
---
Trivial backport of !2309 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2320Backport !2161 “gdelayedsettingsbackend: Fix applying after calling g_setting...2021-11-04T10:52:38ZPhilip WithnallBackport !2161 “gdelayedsettingsbackend: Fix applying after calling g_settings_reset()” to glib-2-70Not-quite-trivial backport of !2161 to `glib-2-70`. The fourth patch didn’t apply cleanly due to other changes in the annotations in `gsettings.c` on `main`. Fixed.
Fixes: #2426Not-quite-trivial backport of !2161 to `glib-2-70`. The fourth patch didn’t apply cleanly due to other changes in the annotations in `gsettings.c` on `main`. Fixed.
Fixes: #24262.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2335Backport !2324 “Fix link to pcre-8.37.tar.bz2” to glib-2-702021-11-16T13:04:42ZPhilip WithnallBackport !2324 “Fix link to pcre-8.37.tar.bz2” to glib-2-70ftp.pcre.org FTP site is no longer available
---
Trivial backport of !2324 to `glib-2-70`.ftp.pcre.org FTP site is no longer available
---
Trivial backport of !2324 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2337Backport !2325 “Fix GSettings dict error macOS” to glib-2-702021-11-16T15:00:02ZPhilip WithnallBackport !2325 “Fix GSettings dict error macOS” to glib-2-70Trivial backport of !2325 to `glib-2-70`.
Closes #2527Trivial backport of !2325 to `glib-2-70`.
Closes #25272.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2340Backport !2338 “gmessages: Support namespaced journals” to glib-2-702021-11-16T16:26:50ZPhilip WithnallBackport !2338 “gmessages: Support namespaced journals” to glib-2-70Spotted and diagnosed by Ilya Basin.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2530
---
Trivial backport of !2338 to `glib-2-70`.Spotted and diagnosed by Ilya Basin.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2530
---
Trivial backport of !2338 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2344Backport !2327 “guri: Improve performance of remove_dot_segments() algorithm”...2023-07-09T18:02:17ZPhilip WithnallBackport !2327 “guri: Improve performance of remove_dot_segments() algorithm” to glib-2-70Trivial backport of !2327 to `glib-2-70`.Trivial backport of !2327 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2356Backport !2355 “gdbusmessage: Add more bounds checking when parsing D-Bus mes...2021-11-23T13:26:01ZPhilip WithnallBackport !2355 “gdbusmessage: Add more bounds checking when parsing D-Bus messages” to glib-2-70Perform strict bounds checking when reading data from the D-Bus message,
and propagate errors to the callers.
Previously, truncated D-Bus messages could cause out-of-bounds reads.
This is a security issue, but one which is only exploit...Perform strict bounds checking when reading data from the D-Bus message,
and propagate errors to the callers.
Previously, truncated D-Bus messages could cause out-of-bounds reads.
This is a security issue, but one which is only exploitable when
communicating with an untrusted peer (who might send malicious
messages). Almost all D-Bus traffic is with a session or system bus,
where the dbus-daemon or dbus-broker is trusted, and is known to have
already rejected malformed (malicious) messages.
Accordingly, this is only exploitable with peer-to-peer D-Bus
conversations with an untrusted peer.
(Includes some minor cleanups from Philip Withnall.)
oss-fuzz#17408
Fixes: #2528
---
Trivial backport of !2355 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2359gutils.c: Improve g_get_os_info() for Windows 10/Server 2019+2021-11-24T10:29:28ZChun-wei Fangutils.c: Improve g_get_os_info() for Windows 10/Server 2019+Hi,
This is the toned-down counterpart of MR !2351 where we improve retrieving version info for Windows 10/Server 2019 20H2 or later, as well as Windows 11.
Things are the same with what is done in MR !2351, except that we continue to ...Hi,
This is the toned-down counterpart of MR !2351 where we improve retrieving version info for Windows 10/Server 2019 20H2 or later, as well as Windows 11.
Things are the same with what is done in MR !2351, except that we continue to indicate server versions as Windows 7/8/8.1/10 Server. Windows 11 is now correctly identified and Windows 10/Server 2019+ after 20H2 are also correctly identified as 21H1 and 21H2, etc.
This fixes issue #2443 on the `glib-2-70` branch.
With blessings, thank you!2.70.2https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2361Backport !2354 “gtestdbus: Print the dbus address on a specific FD intead of ...2021-11-24T10:24:29ZPhilip WithnallBackport !2354 “gtestdbus: Print the dbus address on a specific FD intead of stdout” to glib-2-70We used to use a pipe for the dbus daemon stdout to read the defined
address, but that was already requiring a workaround to ensure that dbus
daemon children were then able to write to stdout.
However the current implementation is still ...We used to use a pipe for the dbus daemon stdout to read the defined
address, but that was already requiring a workaround to ensure that dbus
daemon children were then able to write to stdout.
However the current implementation is still causing troubles in some
cases in which the daemon is very verbose, leading to hangs when writing
to stdout.
As per this, just don't handle stdout ourself, but use instead a
specific pipe to get the address address. That can now be safely closed
once we've received the data we need.
This reverts commit d80adeaa960ddfa13837900d0391f9bd9c239f78.
Fixes: #2537
---
Trivial backport of !2354 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2363Backport !2360 “meson: specify when commands need to succeed in run_command” ...2021-11-24T10:54:02ZPhilip WithnallBackport !2360 “meson: specify when commands need to succeed in run_command” to glib-2-70meson in git master now warns about a missing `check:` kwarg, and may
eventually change the default from false to true.
Take the opportunity to require `objcopy --help` to succeed -- it is
unlikely to fail, but if it does something insa...meson in git master now warns about a missing `check:` kwarg, and may
eventually change the default from false to true.
Take the opportunity to require `objcopy --help` to succeed -- it is
unlikely to fail, but if it does something insane happened.
---
Trivial backport of !2360 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2366Backport !2364 “tests: Allow `objcopy --help` to fail, because it fails on Fr...2021-11-24T15:50:53ZPhilip WithnallBackport !2364 “tests: Allow `objcopy --help` to fail, because it fails on FreeBSD” to glib-2-70This is a partial revert of b248f3481ced. Eventually, this commit can be
dropped once `objcopy --help` doesn’t exit with a non-zero status on
FreeBSD.
See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2360#note_1318608
Signed-o...This is a partial revert of b248f3481ced. Eventually, this commit can be
dropped once `objcopy --help` doesn’t exit with a non-zero status on
FreeBSD.
See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2360#note_1318608
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
---
Trivial backport of !2364 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2375Backport !2374 “gfileutils: Improve performance of g_canonicalize_filename()”...2023-07-09T18:02:17ZPhilip WithnallBackport !2374 “gfileutils: Improve performance of g_canonicalize_filename()” to glib-2-70Improve the performance of canonicalising filenames with many `..` or
`.` components, by modifying the path inline rather than calling
`memmove()`.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2541
---
Trivial bac...Improve the performance of canonicalising filenames with many `..` or
`.` components, by modifying the path inline rather than calling
`memmove()`.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2541
---
Trivial backport of !2374 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnallhttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/2383Backport !2382 “gfileutils: Correctly reset start value when canonicalising p...2021-12-02T19:49:55ZPhilip WithnallBackport !2382 “gfileutils: Correctly reset start value when canonicalising paths” to glib-2-70Trivial backport of !2382 to `glib-2-70`.Trivial backport of !2382 to `glib-2-70`.2.70.2Philip WithnallPhilip Withnall