Wireshark-bugs: [Wireshark-bugs] [Bug 5050] New: LDAP: hf_ldap_simple should be FT_STRING, not F
Date: Sun, 25 Jul 2010 05:52:14 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5050

           Summary: LDAP: hf_ldap_simple should be FT_STRING, not FT_BYTES
           Product: Wireshark
           Version: 1.2.9
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: mykaul@xxxxxxxxx


Build Information:
1.2.9 (SVN rev 33171)
--
{ &hf_ldap_simple,
      { "simple", "ldap.simple",
        FT_BYTES, BASE_NONE, NULL, 0,
        NULL, HFILL }},

while in asn1/ldap/Lightweight-Directory-Access-Protocol-V3.asn we can see:

AuthenticationChoice ::= CHOICE {
  simple  [0]  Simple,
...
Simple ::= OCTET STRING


Looks like it should be FT_STRING, not FT_BYTES.
(And indeed, looking at a packet capture, it shows the value as '313233' where
the authentication is '123' (it is showing the ASCII values, not the real
chars).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.