wireshark/asn1
Stig Bjørlykke ea167053ff Improved deregistering fields.
This improvement avoids use of deallocated memory (crash) if using a
deregistered field in display filter, color filter, custom column and
other cases when the field is used as "interesting field".

This functionality is currently used in http, imf and ldap preferences.

Also removed unused proto_registrar_n() as this does not work correctly
after deregistering fields.

Change-Id: I043e3bf7a98bd773c9801e712a012d1eab8a7f94
Reviewed-on: https://code.wireshark.org/review/5161
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-11-10 08:01:12 +00:00
..
HI2Operations ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
acp133 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
acse Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
ansi_map Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
ansi_tcap Fix some spelling & grammar. 2014-09-09 19:43:27 +00:00
atn-cm ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
atn-cpdlc ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
atn-ulcs ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
c1222 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
camel CAMEL: tvb_length... -> tvb_reported_length... 2014-10-31 12:08:54 +00:00
cdt ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
charging_ase Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
cmip ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
cmp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
cms ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
credssp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
crmf ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
dap Fix some spelling & grammar. 2014-09-09 19:43:27 +00:00
disp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
dop ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
dsp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
ess ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
ftam ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
goose ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
gprscdr Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
gsm_map ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
h225 Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
h235 Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
h245 Refactor pinfo->circuit_id from H.223 dissector. 2014-10-28 07:11:26 +00:00
h248 Don't include ctype.h and replace isascii() with _ascii_isprint(). 2014-10-29 15:35:53 +00:00
h282 Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
h283 Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
h323 Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
h450 Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
h450-ros Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
h460 Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
h501 Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
hnbap ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
idmp Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
ilp Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
inap ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
isdn-sup Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
kerberos Fix some compilation errors (size_t to guint/gint) and an unused parameter 2014-11-04 18:52:52 +00:00
lcsap Get rid of unnecessary includes of ctype.h. 2014-10-18 01:22:31 +00:00
ldap Improved deregistering fields. 2014-11-10 08:01:12 +00:00
logotypecertextn ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
lpp Add a missed -template.h file 2014-07-31 05:56:28 +00:00
lppa Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
lppe Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
lte-rrc Allow the HandoverPreparationInfoPDU dissector to be looked up by name and called. 2014-09-24 07:55:40 +00:00
m3ap Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
mms ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
mpeg-audio Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
mpeg-pes mpeg-pes: don't modify source and destination address colums 2014-10-05 20:25:14 +00:00
nbap ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
novell_pkis ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
ns_cert_exts ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
ocsp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
p1 P1: Added ORAddress and ORName syntax. 2014-10-13 11:40:00 +00:00
p7 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
p22 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
p772 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pcap Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
pkcs1 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkcs12 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkinit ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkix1explicit ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkix1implicit ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkixac ASN1: Register BER syntaxes as NEW 2014-10-13 12:22:13 +00:00
pkixproxy ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkixqualified ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pkixtsp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
pres ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
q932 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
q932-ros Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
qsig Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
ranap Fix some spelling & grammar. 2014-09-09 19:43:27 +00:00
rnsap ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
ros ROS: Return dissected length from call_ros_oid_callback 2014-10-13 16:01:19 +00:00
rrc Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
rrlp ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
rtse RTSE: Return dissected length from call_rtse_oid_callback 2014-10-13 16:01:36 +00:00
rua ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
s1ap Replace isalpha() with g_ascii_isprint(). 2014-10-29 15:47:28 +00:00
sabp Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
sbc-ap Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
smrse ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
snmp SNMP: Fix warning found by -Wunused-const-variable 2014-11-08 20:54:12 +00:00
spnego ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
sv ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
t38 Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors. 2014-08-09 01:57:08 +00:00
t124 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
t125 ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
tcap ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
tetra ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
ulp ULP: upgrade to approved version 2.0.2 2014-08-09 21:47:53 +00:00
wlancertextn ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
x2ap ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
x509af ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
x509ce ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
x509if ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
x509sat ASN1: Register BER syntaxes as NEW 2014-10-13 12:22:13 +00:00
x721 Add more files to the distribution. 2014-07-31 04:31:10 +00:00
.gitignore Add kerberos-exp.cnf to asn1 gitignore 2014-04-18 21:40:05 +00:00
CMakeLists.txt Remove obsolete dissectors. 2014-09-06 09:52:01 +00:00
Custom.make Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
Makefile.am Remove obsolete dissectors. 2014-09-06 09:52:01 +00:00
Makefile.inc Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
Makefile.inc.nmake Now that Python is mandatory on Windows, remove checks for it from nmakefiles 2014-08-09 20:23:39 +00:00
Makefile.nmake Switch to using the ASN1 based kerberos dissector. 2014-04-17 08:29:39 +00:00
Makefile.preinc Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
Makefile.preinc.nmake Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00