You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix GVariant lifecycle in gtk_file_chooser_get_files().
Store GVariant returned by g_variant_iter_next_value() and properly
unref it after using the string, instead of leaking it.
Fix GVariant lifecycle in on_selectedUrlsChanged().
Store GVariant returned by g_variant_iter_next_value() and properly
unref it after using the string, instead of leaking it.
Fix GVariant lifecycle in glob_patterns_append().
Store GVariant returned by g_variant_iter_next_value() and properly
unref it after using the string, instead of leaking it.
Fix use-after-free in gtk_file_chooser_get_files().
Remove g_free() on the string returned by g_variant_get_string(),
which returns a pointer to the variant's internal data and must not
be freed. The string is used before the variant is unreffed.
Fix use-after-free in glob_patterns_append().
Remove g_free() on the string returned by g_variant_get_string().
Root cause: g_variant_get_string() returns a pointer to the string
inside the GVariant, not a newly allocated copy. Calling g_free() on
the pointer after g_variant_unref() causes heap corruption.
Package information | 软件包信息
Package repository address | 软件包仓库地址
Changelog | 更新信息
gtk+3.0 (3.24.41-1deepin7) unstable; urgency=medium
Store GVariant returned by g_variant_iter_next_value() and properly
unref it after using the string, instead of leaking it.
Store GVariant returned by g_variant_iter_next_value() and properly
unref it after using the string, instead of leaking it.
Store GVariant returned by g_variant_iter_next_value() and properly
unref it after using the string, instead of leaking it.
Remove g_free() on the string returned by g_variant_get_string(),
which returns a pointer to the variant's internal data and must not
be freed. The string is used before the variant is unreffed.
Remove g_free() on the string returned by g_variant_get_string().
inside the GVariant, not a newly allocated copy. Calling g_free() on
the pointer after g_variant_unref() causes heap corruption.