Forbid leading, duplicated and trailing dots in field names
authorPeter Wu <peter@lekensteyn.nl>
Mon, 16 Apr 2018 13:36:41 +0000 (15:36 +0200)
committerAnders Broman <a.broman58@gmail.com>
Mon, 16 Apr 2018 15:44:08 +0000 (15:44 +0000)
commitccff21854d5e340af3e8db3ecde555a20ce1f7d8
treef154af995bb1ff4a4a7178f5977294fdf097f9ae
parentf9ed58759fca787b6d3b4c2a988d714014b5ddc6
Forbid leading, duplicated and trailing dots in field names

In order to simplify the display filter scanner, try to restrict the use
of dots ('.') in field names. Forbid leading dots, does not affect
current dissectors. Fix '..' typo in fpp dissector and forbid it. Forbid
trailing dots after fixing dissectors: some of them just have an excess
dot, others are missing a name after the dot.

Change-Id: I6e58a04ef0306ee8c16fbf6a3cabb076d7fc69c9
Reviewed-on: https://code.wireshark.org/review/26967
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
17 files changed:
epan/dissectors/asn1/ldap/packet-ldap-template.c
epan/dissectors/packet-bootp.c
epan/dissectors/packet-btatt.c
epan/dissectors/packet-bthci_vendor.c
epan/dissectors/packet-fpp.c
epan/dissectors/packet-gtpv2.c
epan/dissectors/packet-idrp.c
epan/dissectors/packet-ldap.c
epan/dissectors/packet-nfapi.c
epan/dissectors/packet-obex.c
epan/dissectors/packet-reload.c
epan/dissectors/packet-ses.c
epan/dissectors/packet-srvloc.c
epan/dissectors/packet-umts_fp.c
epan/dissectors/packet-zbee-zcl-general.c
epan/proto.c
plugins/epan/wimaxmacphy/packet-wimaxmacphy.c