simon-svn: xtruss: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Jun 6 08:57:21 BST 2009


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       8591
Date:           2009-06-06 08:57:21 +0100 (Sat, 06 Jun 2009)

Log message (11 lines):
When tracing a program from the start using a proxy, we scan the
server's welcome message to extract everything we might need to know
about image formats. When using -p, however, I cleverly arranged to
leave those fields in 'struct xl' completely uninitialised.

Of course in -p mode we can't look at the traced client's welcome
message - but we can look at the welcome message we got ourselves
when we connected to the same server to use X RECORD, so on the
assumption that the server doesn't maliciously send a different set
of image format specifications to different clients, that'll be good
enough.

Modified files:
U   xtruss/uxxtruss.c

Links:
http://svn.tartarus.org/sgt/?rev=8591&view=rev
http://svn.tartarus.org/sgt/xtruss/uxxtruss.c?rev=8591&r1=8590&r2=8591



More information about the tartarus-commits mailing list