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

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

From: Uwe Girlich <girlich@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Nov 2002 03:35:30 -0600 (CST)
girlich     2002/11/18 03:35:29 CST

  Modified files:
    .                    packet-rpc.c 
  Log:
  Since packet-rpc.c 1.56 (ethereal 0.8.18), we store in
  dissect_rpc_opaque_data() the actual bytes into the dissector data tree
  (improves searching). But if we only give the string "<DATA>" to the
  proto_tree_add_* functions and tell it at the same time, that we have indeed
  string_length_copy bytes, this leads to problems.
  
  Correction: give the pointer into the real data and not the pointer to the
  print string to the proto_tree_add_string_format() and
  proto_tree_add_bytes_format() functions.
  
  The correction was found by Martin Regner.
  
  Revision  Changes    Path
  1.109     +3 -3      ethereal/packet-rpc.c