simon-git: xtruss (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Sep 25 13:21:07 BST 2015


TL;DR:
  f43ba98 Fix a NULL-dereference in -p mode.

Repository:     git://git.tartarus.org/simon/xtruss.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=xtruss.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-09-25 13:21:07

commit f43ba981871d312833aa9f7459edecb3f6d8d6df
web diff http://tartarus.org/~simon-git/gitweb/?p=xtruss.git;a=commitdiff;h=f43ba981871d312833aa9f7459edecb3f6d8d6df;hp=3149b745d12b4c51c220ae7137c8e97d6eac59d7
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Sep 25 13:18:55 2015 +0100

    Fix a NULL-dereference in -p mode.
    
    In -p mode, we trace an X client which we haven't watched from the
    start, so we'll sometimes see responses or errors relating to requests
    we never saw. This causes xlog_respond_to() to be called with
    req==NULL; it does check for that possibility, but not until after
    it's already checked req->printed. Oops.

 uxxtruss.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list