wireshark/epan/ftypes
João Valverde 76a6e2a2bf ftypes: Do not sanitize strings for UTF-8 errors
The ftype itself is encoding agnostic. In the case of literal
display filter strings it is possible and legal to contain
invalid UTF-8.

Maybe it shouldn't be but that requires a user-friendly diagnostic
message, not silently sanitizing the string as is done currently
(only a debug message is printed in that case).

Do the debug checks in proto_tree_set_string() instead. That
still detects dissector code that might need fixing, which was
the purpose for this check.

Improve documentation and add admonition for proto_tree_add_string().

Ping #18521.
2022-10-26 16:23:55 +01:00
..
.editorconfig Fix EditorConfig settings 2022-02-23 23:37:47 +00:00
CMakeLists.txt Move regex code to wsutil 2021-11-14 21:00:59 +00:00
ftype-bytes.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftype-double.c dfilter: Use an exact floating-point string representation 2022-07-23 01:08:31 +01:00
ftype-guid.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftype-ieee-11073-float.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftype-integer.c ftypes: Cleanup code to parse integers 2022-10-10 17:24:52 +00:00
ftype-ipv4.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftype-ipv6.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftype-none.c dfilter: Fix crash with FT_NONE and arithmetic expressions 2022-07-28 16:50:09 +00:00
ftype-protocol.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftype-string.c ftypes: Do not sanitize strings for UTF-8 errors 2022-10-26 16:23:55 +01:00
ftype-time.c dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00
ftypes-int.h dfilter: Fix crash with FT_NONE and arithmetic expressions 2022-07-28 16:50:09 +00:00
ftypes.c dfilter: Fix crash with FT_NONE and arithmetic expressions 2022-07-28 16:50:09 +00:00
ftypes.h dfilter: Improve compatibility of integer types 2022-07-14 20:12:30 +00:00