Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-dcerpc-lsa.c packet-dcerpc-mapi.c pac

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 4 Jun 2003 23:22:05 -0500 (CDT)
guy         2003/06/04 23:22:05 CDT

  Modified files:
    .                    packet-dcerpc-lsa.c packet-dcerpc-mapi.c 
                         packet-dcerpc-nt.c packet-dcerpc-nt.h 
                         packet-dcerpc-reg.c packet-dcerpc-samr.c 
                         packet-dcerpc-spoolss.c 
                         packet-dcerpc-srvsvc.c 
                         packet-dcerpc-svcctl.c 
  Log:
  In the policy handle hashing, handle more than one policy handle having
  the same value, as an open might return handle XXX, handle XXX might
  then be closed, and a subsequent handle might return handle XXX, and we
  want to keep the two handles distinct to avoid, for example, displaying
  handles closed before they're opened.
  
  In policy handle open replies, store the handle name only if the
  operation succeeded.  We can now do that without parsing the packet
  twice.
  
  Have "dissect_nt_policy_hnd()" optionally return, through a pointer, the
  protocol tree item for the handle, so that its caller can decorate the
  item with the name of the handle - that's done on opens, where we do
  that only if the operation succeeds.
  
  Revision  Changes    Path
  1.85      +98 -83    ethereal/packet-dcerpc-lsa.c
  1.22      +6 -6      ethereal/packet-dcerpc-mapi.c
  1.75      +279 -83   ethereal/packet-dcerpc-nt.c
  1.47      +9 -6      ethereal/packet-dcerpc-nt.h
  1.17      +48 -23    ethereal/packet-dcerpc-reg.c
  1.95      +196 -120  ethereal/packet-dcerpc-samr.c
  1.100     +146 -73   ethereal/packet-dcerpc-spoolss.c
  1.57      +4 -4      ethereal/packet-dcerpc-srvsvc.c
  1.9       +44 -30    ethereal/packet-dcerpc-svcctl.c