ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5738] Pango-WARNING **: Invalid UTF-8 string passed to pan

Date: Thu, 31 May 2012 16:00:24 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5738

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8522|                            |review_for_checkin?
              Flags|                            |

--- Comment #13 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-05-31 16:00:23 PDT ---
Created attachment 8522
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8522
Strict checking if string set as representation is valid utf-8

Reopening we still have some problems with it.

In protocol tree representation:
 - Some dissectors add non utf-8 strings as representation.
 - In case of g_vsnprintf() truncation representation string can be terminated
in middle of UTF-8 sequence.

Attaching patch only checks such problems.
If no one complains (DISSECTOR_ASSERT too strict? performance problems?)
I'll commit it after branching 1.8

(Note: if this patch is okay, it should be also done for columns)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.