| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
"goto out" is a fine patter, especially when we are not using
cleanup attribute.
But in this case it was just unnecessary.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
fuzzing: Fix assertion failure in fuzz_paths.c
See merge request GNOME/glib!2013
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If operating on a zero-length input, the return values of
`g_path_get_basename()` and `g_path_get_dirname()` are correctly `.`.
The assertions in the test didn’t account for this.
oss-fuzz#32454
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|\ \
| |/
|/|
| |
| |
| |
| | |
galloca: Clarify alloca() sizes must always be controlled by the program
Closes #2363
See merge request GNOME/glib!2014
|
|/
|
|
|
|
|
|
| |
To avoid security vulnerabilities.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2363
|
|\
| |
| |
| |
| | |
make g_tree_remove_all public
See merge request GNOME/glib!1986
|
| |
| |
| |
| |
| | |
g_tree_remove_all is useful and the corresponding function in GHashTable
is exposed, so make this function public is meaningful.
|
|\ \
| | |
| | |
| | |
| | | |
fuzzing: Add fuzz tests for functions which parse paths
See merge request GNOME/glib!2006
|
| | |
| | |
| | |
| | | |
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
docs: Replace git.gnome.org with gitlab.gnome.org urls
See merge request GNOME/glib!2012
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
docs: Fix example program link
See merge request GNOME/glib!2011
|
|/ / |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
gkeyfile: Fix crash when parsing translations on a second load
Closes #2361
See merge request GNOME/glib!2009
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the same `GKeyFile` is reused to load multiple different key files,
any loads after the first which encounter translated keys will crash,
because clearing the data from the first load cleared the cached
language names, but didn’t clear `checked_locales`, so they were never
reloaded.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2361
|
|/
|
|
|
|
|
|
| |
It should not be possible for `->locales` to be set without
`->checked_locales` being set, so drop the redundant check. This helps
with branch code coverage.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|\
| |
| |
| |
| | |
docs: Add a policy for handling security issues
See merge request GNOME/glib!1985
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This also gives details of how to report a security issue, including the
key point that merge requests are (unfortunately) not confidential.
Heavily based on the flatpak security policy which just landed:
https://github.com/flatpak/flatpak/blob/master/SECURITY.md
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|\ \
| | |
| | |
| | |
| | | |
tests: Deactivate tls-bindings test suite for windows
See merge request GNOME/glib!2008
|
|/ /
| |
| |
| |
| |
| | |
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Helps: #2297
|
|\ \
| | |
| | |
| | |
| | | |
Add g_steal_fd() to API
See merge request GNOME/glib!1966
|
|/ /
| |
| |
| |
| |
| |
| | |
This is basically glnx_steal_fd() from libglnx. We already had two
private implementations of it in GLib.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|\ \
| | |
| | |
| | |
| | | |
introspection: Remove 'caller-allocates' from POD types
See merge request GNOME/glib!2005
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The (out caller-allocates) and (out callee-allocates) annotations are
meant for structured or pointer types. Plain old data types are just
regular out parameters and don't need the annotation about who
allocates them.
See: https://gitlab.gnome.org/GNOME/gjs/-/issues/386
|
|\ \
| | |
| | |
| | |
| | | |
goption.c: Simplfy parse_short_option()
See merge request GNOME/glib!1999
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'master'
gpollableinputstream: Add missing annotation
See merge request GNOME/glib!1998
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
The buffer for g_pollable_input_stream_read_nonblocking() is an out
parameter which the caller must allocate.
See https://gitlab.gnome.org/GNOME/gjs/-/issues/389
|
|/ / |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Resolve "Add additional unit tests for D-Bus name watching"
Closes #2011
See merge request GNOME/glib!1904
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1) Check that schedule_call_in_idle code branch of gdbusnamewatching.c
is working to call vanished handler in the thread which had watched the name
2) Check cancellation of vanished handler if the name is unwatched before
vanished callback is dispatched.
Closes #2011
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
The two structures share some common variable name but it's confusing.
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Include glibconfig.h to get the G_OS_UNIX token
See merge request GNOME/glib!1996
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gversionmacros: Add version macros for GLib 2.70
See merge request GNOME/glib!1965
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Simon McVittie <smcv@collabora.com>
|