mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Merge branch 'wip/hadess/check-g_variant_get-args' into 'master'
gvariant: Add guard to g_variant_get() See merge request GNOME/glib!1269
This commit is contained in:
commit
f3de395812
@ -5434,6 +5434,7 @@ g_variant_get (GVariant *value,
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
g_return_if_fail (value != NULL);
|
||||
g_return_if_fail (valid_format_string (format_string, TRUE, value));
|
||||
|
||||
/* if any direct-pointer-access formats are in use, flatten first */
|
||||
|
Loading…
Reference in New Issue
Block a user