Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-smb.c

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: Sat, 8 Feb 2003 02:55:15 -0600 (CST)
guy         2003/02/08 02:55:15 CST

  Modified files:
    .                    packet-smb.c 
  Log:
  At least in regular SMB requests, the access mask in an ACE is not
  guaranteed to be aligned on a 4-byte boundary, so, if we're not
  dissecting an ACE from a DCE RPC request or reply, don't use
  "dissect_ndr_uint32()" to extract the access mask.  (Is it guaranteed to
  be so aligned even if the ACE is part of a DCE RPC message?  Or are ACLs
  just opaque blobs from the point of view of DCE RPC?)
  
  Use "%u", not "%d", to print unsigned quantities.
  
  Revision  Changes    Path
  1.306     +22 -15    ethereal/packet-smb.c