As this bug hasn't had much attention, please find below a testcase from
the upstream bug report that reproduces the bug (so long as there are
multibyte characters in your GECOS field), whcih testcase succeeds with
the applied patch:

#include <stdio.h>
#include <wx/utils.h>

int main(void)
{
  wxString userName = ::wxGetUserName();
  printf("wxusername: %s\n", userName.c_str());
  return 0;
}

-- 
Scorched3d SIGSEGV on startup
https://bugs.launchpad.net/bugs/35375
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to