Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-dcerpc-nt.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: Mon, 30 Jun 2003 19:59:43 -0500 (CDT)
guy         2003/06/30 19:59:43 CDT

  Modified files:
    .                    packet-dcerpc-nt.c 
  Log:
  Make "cb_str_postprocess()" work like "cb_wstr_postprocess()" by using
  "tvb_get_string()" rather than "tvb_format_text()".  (This fixes a
  problem wherein we freed the return value of "tvb_format_text()", which
  we should not do as "tvb_format_text()" doesn't dynamically allocate the
  buffer it returns, but means that we don't handle non-printable
  characters - but that's a problem with "cb_wstr_postprocess()" as well,
  as "tvb_fake_unicode()" also doesn't handle non-printable characters
  specially; we should fix the problem in *both* routines.)
  
  Revision  Changes    Path
  1.77      +19 -2     ethereal/packet-dcerpc-nt.c