Public bug reported: The function compare_location() in gweather-pref.c contains the following call:
g_settings_get (pref->priv->applet->lib_settings, "default-location", "(ssm(dd))", &default_loc, NULL, NULL); This format string requires 5 pointers to be provided, but only 3 are given. Beacuse if this, g_settings_get will use random stack data as pointers, and corrupt memory causing a crash. Adding 2 more NULL pointers fixes the problem: g_settings_get (pref->priv->applet->lib_settings, "default-location", "(ssm(dd))", &default_loc, NULL, NULL, NULL, NULL); Version 3.5.92-0ubuntu1, quantal. ** Affects: gnome-applets (Ubuntu) Importance: Undecided Status: New ** Tags: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071883 Title: weather applet prefs crash due to incorrect use of g_settings_get () To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-applets/+bug/1071883/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs