Wireshark-bugs: [Wireshark-bugs] [Bug 5520] tshark does not support file name contains chinese c

Date: Fri, 24 Dec 2010 01:06:43 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5520

--- Comment #1 from Sam Liao <phyomh@xxxxxxxxx> 2010-12-24 01:06:42 PST ---
After add breakpoint, the error happens at:
wtap_open_offline -> ... ->
int
ws_stdio_stat (const gchar *filename,
    struct stat *buf)
{
      wchar_t *wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
      int retval;
      int save_errno;
      size_t len;

      if (wfilename == NULL)  // error exit at here.
    {
      errno = EINVAL;
      return -1;
    }

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