Comment # 10
on bug 10681
from Jeff Morriss
(In reply to Jeff Morriss from comment #9)
> (In reply to Guy Harris from comment #8)
> > I seem to remember some discussion of this and some concern that doing the
> > validation would slow down dissection significantly. If so, perhaps what
> > needs to be done is to have the value of an FT_STRING field be a combination
> > of an ENC_ value and a raw blob of bytes copied directly from the packet,
> > with the blob converted to valid UTF-8 when necessary - with that
> > conversion, for ENC_UTF_8, getting rid of invalid UTF-8 sequences.
>
> When (at what point) would it be necessary?
Or is it necessary at all?
If I change the string_enc function to use ENC_UTF_8 and take out the assertion
the Qt UI displays the (partially garbage) URI without a complaint.
The Gtk+ UI complains mildly:
(lt-wireshark-gtk:5865): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()
but presumably at this point we don't really care?
You are receiving this mail because:
- You are watching all bug changes.