Wireshark-bugs: [Wireshark-bugs] [Bug 4358] Buildbot crash output: fuzz-2009-12-27-26249.pcap

Date: Sun, 27 Dec 2009 13:26:05 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4358

--- Comment #5 from Guy Harris <guy@xxxxxxxxxxxx> 2009-12-27 13:26:04 PST ---
According to a small test program, when all the possible SMS characters are
converted to UTF-8, the longest UTF-8 sequence is *three* octets, not *two*
octets.

Furthermore, the documentation for g_unichar_to_utf8() says that the output
buffer "must have at least 6 bytes of space", so I might be tempted to allocate
a buffer 6 times bigger than the input SMS string.  I'll try that and see if
that fixes the problem.

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