Wireshark mailing list archives

Re: tvb_get_string_enc() doesn't always return valid UTF-8


From: Guy Harris <guy () alum mit edu>
Date: Mon, 20 Jan 2014 15:28:47 -0800


On Jan 20, 2014, at 9:22 AM, Martin Kaiser <lists () kaiser cx> wrote:

Comments in the code suggest that tvb_get_string() should replace
chars>=0x80 with the unicode replacement char, which is two bytes long.

We should also probably audit all calls to tvb_get_string() and tvb_get_stringz() in dissectors and change them to 
tvb_get_string_enc() with the appropriate encoding.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: