Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-dcerpc-nt.c packet-dcerpc-nt.h packet

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Nov 2002 15:03:38 -0600 (CST)
guy         2002/11/28 15:03:38 CST

  Modified files:
    .                    packet-dcerpc-nt.c packet-dcerpc-nt.h 
                         packet-dcerpc-spoolss.c 
  Log:
  Get rid of the "pdata" argument to "dissect_dcerpc_uint16s()" and
  "dissect_ndr_uint16s()"; "dissect_ndr_uint16s()" is always passed a null
  pointer, "dissect_dcerpc_uint16s()" is only called by
  "dissect_ndr_uint16s()", and the pointer returned through "pdata" is
  *NOT* guaranteed to be aligned on a 16-bit boundary so we don't want to
  tempt people to blithely dereference that pointer.
  
  Revision  Changes    Path
  1.48      +4 -7      ethereal/packet-dcerpc-nt.c
  1.32      +3 -3      ethereal/packet-dcerpc-nt.h
  1.63      +3 -3      ethereal/packet-dcerpc-spoolss.c