gnome-control-center/panels/color
Marco Trevisan (Treviño) 4b400736bc color-panel: Do not try to access to null pointer in destruction
During destruction toolbar_devices is nullified, but
gtk_widget_in_destruction() does not perform a NULL-check, and we could
crash:

==22708== Invalid read of size 1
==22708== at 0x505CC0B: gtk_widget_in_destruction (gtkwidget.c:10643)
==22708== by 0x189553: gcm_prefs_list_box_row_selected_cb (cc-color-panel.c:1708)
==22708== by 0x4A61714: g_cclosure_marshal_VOID__OBJECTv (gmarshal.c:1910)
==22708== by 0x4A5E148: _g_closure_invoke_va (gclosure.c:895)
==22708== by 0x4A784F3: g_signal_emit_valist (gsignal.c:3462)
==22708== by 0x4A78722: g_signal_emit (gsignal.c:3612)
==22708== by 0x4F5B121: gtk_list_box_remove (gtklistbox.c:2420)
==22708== by 0x4F5B222: gtk_list_box_dispose (gtklistbox.c:439)
==22708== by 0x4A63338: g_object_unref (gobject.c:3891)
==22708== by 0x4EAA994: gtk_box_dispose (gtkbox.c:230)
==22708== by 0x4A63338: g_object_unref (gobject.c:3891)
==22708== by 0x4EAA994: gtk_box_dispose (gtkbox.c:230)
==22708== Address 0xfffffffffffffeb2 is not stack'd, malloc'd or (recently) free'd

See: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2009913
2023-03-21 15:34:44 +00:00
..
icons Add individual app icons 2022-01-31 14:08:22 +00:00
cc-color-calibrate.c color: Remove dead code 2022-06-17 01:42:12 +00:00
cc-color-calibrate.h color: Replace ifdefs with #pragma once 2018-05-30 15:09:55 +12:00
cc-color-calibrate.ui [WIP] color: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-color-cell-renderer-text.c [WIP] color: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-color-cell-renderer-text.h color: Replace ifdefs with #pragma once 2018-05-30 15:09:55 +12:00
cc-color-common.c color: Use g_auto for variables 2018-05-30 15:46:01 +12:00
cc-color-common.h color: Replace ifdefs with #pragma once 2018-05-30 15:09:55 +12:00
cc-color-device.c Drop most uses of deprecated gtk_style_context_add/remove_class 2023-01-05 18:55:51 +00:00
cc-color-device.h color: Replace ifdefs with #pragma once 2018-05-30 15:09:55 +12:00
cc-color-panel.c color-panel: Do not try to access to null pointer in destruction 2023-03-21 15:34:44 +00:00
cc-color-panel.h color: Replace ifdefs with #pragma once 2018-05-30 15:09:55 +12:00
cc-color-panel.ui panels: Switch to CcPanel content 2022-01-20 02:23:42 +00:00
cc-color-profile.c [WIP] color: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-color-profile.h color: Replace ifdefs with #pragma once 2018-05-30 15:09:55 +12:00
color.gresource.xml color: Make .ui filename match the .c filename 2019-09-09 21:58:00 +00:00
gnome-color-panel.desktop.in desktop: Remove obsolete Bugzilla entries 2022-10-20 13:20:09 +00:00
meson.build desktop: Remove obsolete Bugzilla entries 2022-10-20 13:20:09 +00:00