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

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: Thu, 23 Oct 2003 00:23:41 -0500 (CDT)
guy         2003/10/23 00:23:41 CDT

  Modified files:
    .                    packet-dcerpc.c 
  Log:
  Get rid of the "offset" argument to "dcerpc_try_handoff()" - it's always
  0.
  
  In "dcerpc_try_handoff()", remove the authentication padding from the
  stub data handed to the subdissector - that's not really stub data for
  the subdissector, and it should throw an exception if the request or
  response would go into the authentication padding.  Don't even try to
  dissect the remaining stub data if the authentication padding value
  consumes all the stub data or would consume even more than that.
  
  Show any "Long frame" data before the authentication padding, and show
  the authentication padding as the stuff at the very end of the stub
  data, after the "Long frame" data.
  
  Catch all exceptions when dissecting authentication information, so that
  even if it's bad or we don't have all of it, we still dissect the stub
  data.
  
  Try dissecting authentication trailer information even if we don't have
  all of it in the tvbuff - we want an exception to be thrown if we don't.
  Don't try to dissect it if it eats into the stub data, however.
  
  Don't bother catching exceptions in "dissect_auth_verf()" - we now
  always catch exceptions in above it in the DCE RPC dissector call tree.
  
  Use CATCH_ALL and "show_exception()" when calling the sub-dissector for
  a connection-oriented PDU; that means we won't have to worry about
  adding new exception types unless they're types that we should rethrow.
  
  Revision  Changes    Path
  1.148     +203 -121  ethereal/packet-dcerpc.c