This bug was fixed in the package libgrip -
0.3.7+14.04.20140303-0ubuntu1

---------------
libgrip (0.3.7+14.04.20140303-0ubuntu1) trusty; urgency=low

  [ Stephen M. Webb ]
  * Replace use of deprecated GTK+-3.0 function in example code. (LP:
    #1266597)
  * fix some Lintian packaging complaints.
  * p revent the Geis object from being used until it has been
    successfully initialized (lp: #1276333). (LP: #1276333)
  * debian/control: bump Standards-Version to 3.9.5 (no changes)
 -- Ubuntu daily release <ps-jenk...@lists.canonical.com>   Mon, 03 Mar 2014 
20:07:30 +0000

** Changed in: libgrip (Ubuntu)
       Status: New => Fix Released

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

Title:
  evince/eog crash when using untrusted X11

Status in libgrip: multitouch gesture library for GTK:
  Fix Committed
Status in “geis” package in Ubuntu:
  New
Status in “libgrip” package in Ubuntu:
  Fix Released

Bug description:
  
  evince/eog crash when using untrusted X11 connection (ssh -X with 
ForwardX11Trusted no) .

  Somehow geis->backend ends up being NULL in this case, and it crashes
  in  geis_backend_create_token which is called with a NULL argument
  from geis_backend_token_new (geis.c). I am not sure how this should be
  handled, but adding a test at the top of geis_backend_token_new fixes
  the problem:

    if (!geis->backend)
     return NULL;

  This causes then a crash later in libgrip in the function
  'processed_mapped_window_request' (gripgesturemanager.c), because it
  calls geis_filter_add_term with a NULL filter. This may be fixed with
  a test after 'geis_filter_new':

   GeisFilter window_filter = geis_filter_new(priv->geis, filter_id);

    if (NULL == window_filter)
          return;

  Not sure if there are better ways, but this seems to fix it for me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/libgrip/+bug/1276333/+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