** Changed in: unity
       Status: Fix Released => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/1053220

Title:
  windows.push_back(<uninitialized value>) in
  BamfLauncherIcon::GetFocusableWindows

Status in Unity:
  Fix Committed
Status in Unity 6.0 series:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  I just noticed this in BamfLauncherIcon::GetFocusableWindows.

      {
        Window xid;

        if (BAMF_IS_WINDOW (focusable_child))
          xid = bamf_window_get_xid (BAMF_WINDOW(focusable_child));
        else if (BAMF_IS_TAB (focusable_child))
          {
            BamfTab *focusable_tab = BAMF_TAB (focusable_child);

            xid = bamf_tab_get_xid (focusable_tab);

            bamf_tab_raise (focusable_tab);
          }

        windows.push_back(xid);   <-------- xid could be uninitialized
        return windows;
      }

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1053220/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to