URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=088b3d63a00d57183a24805a6bf7390f8136352b
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
088b3d6 by Guy Harris (guy@xxxxxxxxxxxx):
Remove the UTF-8 validation from proto_tree_add_string().
proto_tree_add_item() does no validation if ENC_UTF_8 is used as the
encoding, so there's no guarantee that the value of a string field is
valid UTF-8, and in some dissectors UTF-8 strings are fetched with other
mechanisms and then added with proto_tree_add_string().
We need to do some cleanup on string handling.
Bug: 15848
Change-Id: Ifc43111dbb47c478fa11280f2f771d90202499fa
Reviewed-on: https://code.wireshark.org/review/33677
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from d647286 Fix error message for an unknown pcapng version number.
add 088b3d6 Remove the UTF-8 validation from proto_tree_add_string().
Summary of changes:
epan/proto.c | 4 ----
1 file changed, 4 deletions(-)