wireshark/epan/dissectors/asn1
Stefan Metzmacher e49430b4d3 packet-ldap: fix regression for SASL handling
commit 19b3376a24
("LDAP bogus malformed errors: decoding encrypted data")
introduced 2 problems:

- guint decr_len = tvb_reported_length(decr_tvb); was
  always called with decr_tvb==NULL

- dissect_ldap_payload() was not called if sasl_tree is NULL,
  it needs to be called even if the tree pointer are NULL
  in order to have the COL_INFO setup correctly.

I guess this should also be backported to stable branches
(together with 2e6d3b571b
 "LDAP: SASL Buffer doesn't include Length field")

https://gitlab.com/wireshark/wireshark/-/issues/17347

Signed-off-by: Stefan Metzmacher <metze@samba.org>


(cherry picked from commit 1d623fd541)
2021-04-16 11:53:00 +00:00
..
HI2Operations H2Operations: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2019-01-06 17:16:29 +00:00
acp133
acse
ain Add string encoding values for various BCD encodings, and use them. 2020-04-27 01:53:09 +00:00
ansi_map Add string encoding values for various BCD encodings, and use them. 2020-04-27 01:53:09 +00:00
ansi_tcap epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
atn-cm HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
atn-cpdlc HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
atn-ulcs Don't include config.h in system headers 2021-02-03 14:56:33 +00:00
c1222 C12.22: Fix Calling-authentication-value-c1221 CHOICE 2020-07-20 20:12:14 +00:00
camel Update URLs pointing to the bug database. 2020-10-03 07:54:12 -07:00
cbrs-oids CBRS-OIDs: adding Citizens Broadband Radio Service Object Identifiers 2018-11-15 05:37:12 +00:00
cdt
charging_ase
cmip
cmp CMP: adding p10cr PKIbody dissection 2018-10-04 11:23:43 +00:00
cms CMS: reset object_identifier_id after dissecting ContentInfo 2019-11-04 17:53:56 +00:00
credssp Start renaming SSL to TLS. 2018-09-13 22:37:52 +00:00
crmf CRMF: Handle 64 bit serialNumber 2019-04-15 13:15:36 +00:00
dap Add tvb_ascii_isprint API 2018-10-21 07:55:40 +00:00
disp
dop
dsp
e1ap E1AP: upgrade dissector to v16.3.0 2020-10-05 10:16:13 +00:00
ess
f1ap F1AP: upgrade dissector to v16.2.0 2020-09-05 13:32:33 +02:00
ftam
glow
goose goose: test field is renamed to simulation 2020-02-25 13:42:03 +00:00
gprscdr gprscdr: Update to 3GPP TS 32.298 V16.6.1 2020-10-22 03:40:38 +00:00
gsm_map Update URLs pointing to the bug database. 2020-10-03 07:54:12 -07:00
h225 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
h235 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
h245 asn1: fix -Wmisleading-indentation warnings with Clang 10 2020-03-11 04:18:46 +00:00
h248 Fix some detected spelling errors in ASN1 dissectors. 2020-09-05 00:51:48 +00:00
h282
h283
h323
h450 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
h450-ros
h460
h501
hnbap HNBAP: decode IMSI IE 2019-10-01 12:37:15 +00:00
idmp IDMP: Reset a couple of variables. 2020-01-24 05:10:21 +00:00
ieee1609dot2 GeoNW: add support for psid-traffic-light-control-status-service ::= 637 2020-05-27 12:37:09 +00:00
ilp Add string encoding values for various BCD encodings, and use them. 2020-04-27 01:53:09 +00:00
inap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
isdn-sup
its ITS: enable decoding of UDP datagram as ITS message 2020-08-30 20:30:21 +02:00
kerberos Move still *more* headers outside of extern "C". 2021-03-16 15:03:17 -07:00
lcsap lcsap: fix decode of plmnIdentity 2020-10-29 10:07:09 +00:00
ldap packet-ldap: fix regression for SASL handling 2021-04-16 11:53:00 +00:00
lnpdqp No explicit glib.h include required 2020-05-01 21:28:27 +00:00
logotypecertextn epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
lpp NR RRC: upgrade dissector to v16.1.0 2020-08-17 15:12:48 +00:00
lppa LPPa: Make it possible to dissect private IEs 2020-01-14 08:54:29 +00:00
lppe Switch my contact address 2019-02-01 21:16:19 +00:00
lte-rrc lte-rrc: Pluralize PagingRecord(s) 2020-10-28 13:38:14 +00:00
m2ap Switch my contact address 2019-02-01 21:16:19 +00:00
m3ap m3ap: Info column lost at filtering. 2019-12-13 15:39:39 +00:00
mms No explicit glib.h include required 2020-05-01 21:28:27 +00:00
mpeg-audio
mpeg-pes Update URLs pointing to the bug database. 2020-10-03 07:54:12 -07:00
mudurl
nbap Fix some detected spelling errors in ASN1 dissectors. 2020-09-05 00:51:48 +00:00
ngap 3GPP: add 5G-TMSI to 3gpp.tmsi common filter 2020-10-14 11:08:19 +02:00
nist-csor NIST-CSOR: ASN.1 dissector for NIST Computer Security Objects Register defined OIDs and their parameeters 2018-08-17 06:52:17 +00:00
novell_pkis
nr-rrc NR RRC: upgrade dissector to v16.2.0 2020-10-08 10:24:28 +02:00
nrppa NRPPa: Add dissector for TS 38.455 V15.2.1 2019-06-17 13:12:20 +00:00
ns_cert_exts
ocsp x509af,ocsp,ber: display serialNumber (INTEGER) as bytes 2020-01-21 22:10:45 +00:00
p1 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
p7
p22
p772
pcap
pkcs1 pkcs1: recognize explicit curve parameters 2020-01-30 05:52:02 +00:00
pkcs10 PKCS10/pkix1explict: adding PKCS#9 OIDs 2018-11-13 14:54:57 +00:00
pkcs12
pkinit packet-{kerberos,pkinit}: Add support for Windows based PKINIT 2020-03-18 10:50:59 +00:00
pkix1explicit PKIX1EXPLICIT: Fixing Attribute and AttributeTypeAndValue ASN.1 cnf 2018-11-13 17:58:08 +00:00
pkix1implicit Fixing, adding PKIX AuthorityInfoAccess OID names 2018-08-14 14:18:27 +00:00
pkixac
pkixproxy
pkixqualified
pkixtsp
pres
q932 epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
q932-ros
qsig epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
ranap HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
rnsap
ros epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
rrc RRC: upgrade dissector to v16.1.0 2020-10-10 19:06:41 +02:00
rrlp
rtse asn1: fix -Wmisleading-indentation warnings with Clang 10 2020-03-11 04:18:46 +00:00
rua
s1ap S1AP: fix decoding of inter eNB transparent container from NGAP 2020-11-24 13:45:38 +00:00
sabp
sbc-ap SBcAP: fix update of info column 2020-05-14 14:10:11 +00:00
smrse
snmp SNMP: Fix checking of SNMP v3 auth if MD5 method is used 2020-12-13 16:47:38 +00:00
spnego Fix the type of arrays of pointers to hf_ values for bitfield routines. 2020-06-19 11:32:26 +00:00
sv Fix the type of arrays of pointers to hf_ values for bitfield routines. 2020-06-19 11:32:26 +00:00
t38 t38: propagate ACDR changes in autogenerated file to the source 2020-03-11 05:24:55 +00:00
t124
t125 T125: avoid returning from TRY/CATCH in dissect_t125_heur 2018-10-10 04:07:05 +00:00
tcap Fix some cppcheck issues: 2020-06-01 20:44:27 +00:00
tcg-cp-oids Adding dissector for OIDs used in TCG X.509 Certificates 2018-10-03 03:49:44 +00:00
tetra
ulp Add string encoding values for various BCD encodings, and use them. 2020-04-27 01:53:09 +00:00
wlancertextn
x2ap X2AP: upgrade dissector to v16.3.0 2020-10-05 13:25:02 +02:00
x509af x509af,ocsp,ber: display serialNumber (INTEGER) as bytes 2020-01-21 22:10:45 +00:00
x509ce HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
x509if
x509sat X509SAT: fix conformation file 2020-01-12 20:14:41 +00:00
x721
xnap XnAP: fix the dissection of some NR and E-UTRA cell identity fields 2020-10-05 14:39:50 +02:00
z3950 Fix some detected spelling errors in ASN1 dissectors. 2020-09-05 00:51:48 +00:00
.gitignore
CMakeLists.txt NRPPa: Add dissector for TS 38.455 V15.2.1 2019-06-17 13:12:20 +00:00
CMakeListsCustom.example.txt