Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-wsp.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: Sun, 28 Apr 2002 19:33:31 -0500 (CDT)
guy         2002/04/28 19:33:31 CDT

  Modified files:
    .                    packet-wsp.c 
  Log:
  Use "proto_tree_add_item()" to add the URI string to the protocol tree,
  rather than extracting a string and adding that explicitly (which runs
  the risk of leaking memory if the "tvb_get_ptr()" throws an exception).
  
  Use "tvb_format_text()" when adding the string to the Info column, so
  that non-printable characters are displayed as escapes.
  
  Revision  Changes    Path
  1.56      +5 -10     ethereal/packet-wsp.c