The CLDAP attribute value on a CLDAP reply is no longer being decoded
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5239 It got broken in Revision 33390 I think, if attr_type is unset at this point it should be set in the calling function. http://anonsvn.wireshark.org/viewvc/trunk/asn1/ldap/ldap.cnf?r1=33388&r2=33390 svn path=/trunk/; revision=34176
This commit is contained in:
parent
ca5fd0c797
commit
6dc449e99c
|
@ -463,7 +463,7 @@ ldap_conv_info_t *ldap_info;
|
|||
guint32 i, len;
|
||||
int old_offset = offset;
|
||||
|
||||
attr_type=NULL;
|
||||
/* attr_type, should be set before calling this function */
|
||||
|
||||
/* extract the value of the octetstring */
|
||||
offset = dissect_ber_octet_string(FALSE, actx, NULL, tvb, offset, hf_index, &next_tvb);
|
||||
|
|
|
@ -2161,7 +2161,7 @@ dissect_ldap_AttributeValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of
|
|||
guint32 i, len;
|
||||
int old_offset = offset;
|
||||
|
||||
attr_type=NULL;
|
||||
/* attr_type, should be set before calling this function */
|
||||
|
||||
/* extract the value of the octetstring */
|
||||
offset = dissect_ber_octet_string(FALSE, actx, NULL, tvb, offset, hf_index, &next_tvb);
|
||||
|
|
Loading…
Reference in New Issue