ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5387] Kerberos: PA-PW-SALT is sometimes just a string (wit

Date: Sun, 5 Dec 2010 11:52:02 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5387

--- Comment #1 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2010-12-05 11:51:59 PST ---
Hi,
You might want to do something like this:
    case KRB5_PA_PW_SALT:
      tmp_offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset,
&tmp_cls, NULL, &tmp_tag);
     dissect_ber_length(actx->pinfo, tree, tvb, tmp_offset , &tmp_len, NULL);
Then performe length check and call the apropriate function.

        offset=dissect_ber_old_octet_string_wcb(FALSE, actx, tree, tvb,
offset,hf_krb_PA_DATA_value, dissect_krb5_PW_SALT);
        break;

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