Crash after entering "foo\"
Entering a string that ends with a backslash, such as "foo\"
, crashes xfce4-appfinder.
Affected versions (at least):
- 4.17.0
- 4.17.0git-a5c03595
Most likely caused by: Uninitialized local variable gchar **argv
Backtrace for version 4.17.0
:
(gdb) bt
#0 0x00007f22e63537d5 in __GI___libc_free (mem=0x66c35d5b08c48348) at /var/tmp/portage/sys-libs/glibc-2.33-r7/work/glibc-2.33/malloc/malloc.c:3288
#1 0x00007f22e6507329 in g_free () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/glib/gmem.c:199
#2 0x00007f22e6527309 in g_strfreev () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/glib/gstrfuncs.c:2560
#3 g_strfreev () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/glib/gstrfuncs.c:2553
#4 0x000055e66ea43077 in xfce_appfinder_window_execute_command () at /var/tmp/portage/xfce-base/xfce4-appfinder-4.17.0/work/xfce4-appfinder-4.17.0/src/appfinder-window.c:1827
#5 0x000055e66ea43396 in xfce_appfinder_window_execute_command () at /var/tmp/portage/xfce-base/xfce4-appfinder-4.17.0/work/xfce4-appfinder-4.17.0/src/appfinder-window.c:1784
#6 xfce_appfinder_window_execute () at /var/tmp/portage/xfce-base/xfce4-appfinder-4.17.0/work/xfce4-appfinder-4.17.0/src/appfinder-window.c:1907
#7 0x000055e66ea4388e in xfce_appfinder_window_launch_clicked () at /var/tmp/portage/xfce-base/xfce4-appfinder-4.17.0/work/xfce4-appfinder-4.17.0/src/appfinder-window.c:1843
#8 0x00007f22e66048a7 in g_cclosure_marshal_VOID__VOIDv () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/gobject/gmarshal.c:165
#9 0x00007f22e6602449 in _g_closure_invoke_va () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/gobject/gclosure.c:893
#10 0x00007f22e661d0a3 in g_signal_emit_valist () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/gobject/gsignal.c:3406
#11 0x00007f22e661d242 in g_signal_emit () at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/gobject/gsignal.c:3553
#12 0x00007f22e6b1359d in gtk_button_clicked () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkbutton.c:1541
#13 0x000055e66ea4396c in xfce_appfinder_window_entry_activate () at /var/tmp/portage/xfce-base/xfce4-appfinder-4.17.0/work/xfce4-appfinder-4.17.0/src/appfinder-window.c:1350
#17 0x00007f22e661bf3f in #18 0x00007f22e6afe764 in gtk_binding_entry_activate () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkbindings.c:646
#19 0x00007f22e6afeca8 in binding_activate () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkbindings.c:1455
#20 0x00007f22e6afee51 in gtk_bindings_activate_list () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkbindings.c:1514
#21 0x00007f22e6b004d2 in gtk_bindings_activate_event () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkbindings.c:1601
#22 0x00007f22e6da72ef in gtk_widget_real_key_press_event () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkwidget.c:7224
#23 0x00007f22e6ba0113 in gtk_entry_key_press () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkentry.c:4912
#24 0x00007f22e6e06bef in _gtk_marshal_BOOLEAN__BOXED () at /var/tmp/portage/x11-libs/gtk+-3.24.30/work/gtk+-3.24.30/gtk/gtkmarshalers.c:83
#25 0x00007f22e66006a8 in g_type_class_meta_marshal ()
at /var/tmp/portage/dev-libs/glib-2.70.2/work/glib-2.70.2-abi_x86_64.amd64/../glib-2.70.2/gobject/gclosure.c:1031