wireshark/epan/ftypes
Hadriel Kaplan 7f074364b6 Fix bug 9790: Lua: wslua allows duplicate field registration
As discussed in bug 3513 and 9709, one can register more than one new ProtoFields for
the same field name. Of course C-code can do that too, and does a LOT apparently, but
if they're not similar ftypes then things can get scrweed up in display filters.

So this change prevents duplicate field registration of dissimilar ftypes. The
similarity is based on the discussion on the mailing list, and the listing in
README.developer has been updated to refelect that as well.

Also, this change adds a testscript for Proto/ProtoFields.

Change-Id: I43bd323f785245941a21289647332a19adec2a9d
Reviewed-on: https://code.wireshark.org/review/285
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-21 20:57:43 +00:00
..
Makefile.am From David Arnold: 2013-03-12 06:53:39 +00:00
Makefile.common Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
Makefile.nmake makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes. 2013-06-25 15:32:49 +00:00
ftype-bytes.c Don't cast away constness. 2014-01-15 03:35:44 +00:00
ftype-double.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-guid.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-integer.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-ipv4.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-ipv6.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-none.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-pcre.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-string.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-time.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftype-tvbuff.c Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftypes-int.h Eliminate fvalue_set() in favor of routines that take arguments 2014-01-15 01:05:03 +00:00
ftypes.c Fix bug 9790: Lua: wslua allows duplicate field registration 2014-02-21 20:57:43 +00:00
ftypes.h Fix bug 9790: Lua: wslua allows duplicate field registration 2014-02-21 20:57:43 +00:00