aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-09-25 19:21:44 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-09-25 19:21:44 +0000
commitd4a70f296149d2b13d67a0e7702480247762e3d5 (patch)
tree166df79e833fe1855aef4741ef9f38108629c495 /asn1
parente4e3a49dbe9997782300cb7e0bb7c3165869c315 (diff)
Add the missing part of the fix for "Failure to dissect long SASL wrapped LDAP response".
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2687 svn path=/trunk/; revision=26272
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ldap/packet-ldap-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c
index d027cdccb2..464fa28e5a 100644
--- a/asn1/ldap/packet-ldap-template.c
+++ b/asn1/ldap/packet-ldap-template.c
@@ -1711,7 +1711,7 @@ dissect_ldap_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
goto this_was_not_sasl;
}
- if( sasl_len>65535 ){
+ if( sasl_len>LDAP_SASL_MAX_BUF ){
goto this_was_not_sasl;
}