wireshark/asn1
João Valverde e4c059f67f Add free_address_wmem(), fix warnings [-Wcast-qual]
Try to improve address API and also fix some constness warnings
by not overloading the 'data' pointer to store malloc'ed buffers
(use private pointer for that instead).

Second try, now passing test suite.

Change-Id: Idc101cd866b6d4f13500c9d59da5c7a38847fb7f
Reviewed-on: https://code.wireshark.org/review/13946
Petri-Dish: João Valverde <j@v6e.pt>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
2016-02-26 23:09:43 +00:00
..
HI2Operations Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
acp133 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
acse asn1: Cleanup space usage 2016-02-06 13:27:59 +00:00
ansi_map Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
ansi_tcap Clean up response matching type preference. 2016-01-01 05:16:10 +00:00
atn-cm atn cm/cpdlc : fix variable ‘atn_cv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] found by gcc6 2016-02-11 14:53:13 +00:00
atn-cpdlc atn cm/cpdlc : fix variable ‘atn_cv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] found by gcc6 2016-02-11 14:53:13 +00:00
atn-ulcs atn ulcs/cpdlc: fix ia5alpha’ defined but not used [-Werror=unused-const-variable] found by gcc6 2016-02-11 14:20:19 +00:00
c1222 Fix a lot of typos and misspellings 2016-01-08 20:04:56 +00:00
camel Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
cdt Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
charging_ase Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
cmip Fix a lot of typos and misspellings 2016-01-08 20:04:56 +00:00
cmp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
cms Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
credssp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
crmf Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
dap Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
disp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
dop Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
dsp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
ess Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
ftam ASN1: fix misspelling (found by Lintian) 2016-02-04 09:44:43 +00:00
goose Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
gprscdr Fix a lot of typos and misspellings 2016-01-08 20:04:56 +00:00
gsm_map Remove unbalanced comment marker 2016-02-06 01:43:47 +00:00
h225 Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
h235 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
h245 Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
h248 Separate hf_ fields that share filter names with FT_UINT32 and FT_UINT64 datatypes. 2016-02-22 13:40:27 +00:00
h282 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
h283 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
h323 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
h450 Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
h450-ros Sync ASN.1 templates and generated code (spelling fixes) 2016-02-03 23:21:17 +00:00
h460 Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
h501 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
hnbap Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
idmp Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
ilp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
inap ASN1: fix misspelling (found by Lintian) 2016-02-04 09:44:43 +00:00
isdn-sup Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
kerberos Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
lcsap LCSAP: Sync ASN.1 template and add missing braces 2016-02-03 23:21:05 +00:00
ldap Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
logotypecertextn Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
lpp LPP: upgrade dissector to v13.0.0 2016-01-10 21:07:53 +00:00
lppa Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
lppe Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
lte-rrc LTE RRC: add a unit to gnss-TOD-msec field 2016-02-22 19:48:41 +00:00
m3ap M3AP: fix dissection of IPAddress field 2016-02-03 17:48:40 +00:00
mms Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
mpeg-audio mpeg-audio: do not put bitrate and sampling rate in source and destination columns 2016-02-09 05:15:47 +00:00
mpeg-pes Sync ASN.1 templates and generated code (spelling fixes) 2016-02-03 23:21:17 +00:00
nbap Add free_address_wmem(), fix warnings [-Wcast-qual] 2016-02-26 23:09:43 +00:00
novell_pkis Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
ns_cert_exts Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
ocsp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
p1 asn1: Cleanup space usage 2016-02-06 13:27:59 +00:00
p7 Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
p22 asn1: Cleanup space usage 2016-02-06 13:27:59 +00:00
p772 asn1: Cleanup space usage 2016-02-06 13:27:59 +00:00
pcap Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkcs1 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkcs12 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkinit Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkix1explicit Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkix1implicit Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkixac Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkixproxy Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkixqualified Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pkixtsp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
pres Revert "RTSE and PRES relies on the TCP conversation to do reassembly, switch to the new interface." 2016-02-08 16:32:15 +00:00
q932 Q932: fix q932_.._vals defined but not used [-Werror=unused-const-variable] found by gcc6 2016-02-11 13:51:56 +00:00
q932-ros Sync ASN.1 templates and generated code (spelling fixes) 2016-02-03 23:21:17 +00:00
qsig Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
ranap Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
rnsap Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
ros Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
rrc ASN1: fix misspelling (found by Lintian) 2016-02-04 09:44:43 +00:00
rrlp ASN1: fix misspelling (found by Lintian) 2016-02-04 09:44:43 +00:00
rtse Revert "RTSE and PRES relies on the TCP conversation to do reassembly, switch to the new interface." 2016-02-08 16:32:15 +00:00
rua Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
s1ap Fix a lot of typos and misspellings 2016-01-08 20:04:56 +00:00
sabp Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
sbc-ap Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
smrse Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
snmp snmp: Decode msgSecurityParameters ASN.1 header 2016-02-26 11:11:17 +00:00
spnego Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
sv Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
t38 Add free_address_wmem(), fix warnings [-Wcast-qual] 2016-02-26 23:09:43 +00:00
t124 Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
t125 Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
tcap TCAP: Fix warning [-Wclobbered] 2016-02-08 05:54:49 +00:00
tetra ASN1: fix misspelling (found by Lintian) 2016-02-04 09:44:43 +00:00
ulp ULP: prettify dissection 2015-12-13 21:57:48 +00:00
wlancertextn Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
x2ap Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
x509af X509AF: reset algorithm_id global variable when closing a file 2016-01-20 09:19:57 +00:00
x509ce Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
x509if Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +00:00
x509sat Convert ASN.1 dissectors to remove "new" from "new-style" dissector function names that were generated from asn2wrs.py 2015-12-10 17:06:02 +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 [ASN1 custom dissectors]Add the abillity to build custom ASN1 based 2015-11-28 07:39:19 +00:00
CMakeListsCustom.example.txt [ASN1 custom dissectors]Add the abillity to build custom ASN1 based 2015-11-28 07:39:19 +00:00
Custom.make ASN1 (custom.make): fix typo 2015-11-19 14:10:25 +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 asn1/Makefile.nmake: packet-c1222.c not autogenerated using Windows nmake 2014-12-23 05:38:22 +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