Skip to content

[Deepin Integration]~[v25-Release] fix: Fix GVariant use-after-free and GFile ownership in DDE file dialog by Zeno-sole@deepin-community/gtkplus3.0 by deepin-community-ci-bot[bot] #13846

Description

@deepin-bot

Package information | 软件包信息

包名 版本
gtk+3.0 3.24.41-1deepin8

Package repository address | 软件包仓库地址

deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/CI:/TestingIntegration:/test-integration-pr-4481/testing/ ./

Changelog | 更新信息

gtk+3.0 (3.24.41-1deepin8) unstable; urgency=medium

  • debian/patches/dde-filedialog.patch:
    • Fix use-after-free in gtk_file_chooser_get_files(): use the string
      returned by g_variant_get_string() before g_variant_unref(), instead
      of unref'ing first and then reading the freed string.
    • Fix use-after-free in d_on_dbus_filedialog_selectionFilesChanged().
    • Fix use-after-free in d_gtk_file_filter_to_string() (MIME filter).
    • Add NULL guard for g_variant_iter_next_value() result in all loops.
    • Fix gtk_file_chooser_get_file() GFile ownership: use g_object_ref()
      to return an independent reference (transfer-full).
    • Use g_free() instead of free() for g_file_get_basename() result.
      Fix GVariant/GFile ownership per GTK3 DDE FileDialog GLib2.84 plan.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status
In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions