http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54134
User: guy
Date: 2013/12/15 07:48 PM
Log:
In dissect_ndr_byte_array(), use the field index from the dcerpc_info
structure, rather than a fixed field. Get rid of that fixed field, as
it's no longer needed.
Use dissect_ndr_byte_array() rather than dissect_ndr_char_cvstring() in
a case where we have an opaque byte array.
Have dissect_ndr_cvstring() and dissect_ndr_vstring() - and, therefore,
routines that call them, such as dissect_ndr_cstring(),
dissect_ndr_char_cvstring(), dissect_ndr_char_vstring(), and
dissect_ndr_wchar_vstring() - require that the field being used by an
FT_STRING field. Manually fix a case where the PIDL generator makes
such a field FT_NONE rather than FT_STRING. Also handle EBCDIC, just in
case we happen to see a packet with EBCDIC strings.
Use tvb_get_string_enc(), rather than tvb_get_unicode_string() or
tvb_get_string(), in dissect_ndr_cvstring() and dissect_ndr_vstring().
Directory: /trunk/epan/dissectors/
Changes Path Action
+2 -2 packet-dcerpc-netlogon.c Modified
+1 -1 packet-dcerpc-nspi.c Modified
+60 -74 packet-dcerpc.c Modified
+8 -0 packet-dcerpc.h Modified