Date: Sat, 09 Apr 2016 19:44:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208661] __cxa_demangle incorrectly demangles wchar_t Message-ID: <bug-208661-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208661 Bug ID: 208661 Summary: __cxa_demangle incorrectly demangles wchar_t Product: Base System Version: 10.3-BETA2 Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: dwmcrobb@me.com We wind up with 'wchar_' due to an incorrect string length in libelftc_dem_gnu3.c. This is an upstream bug. Patch: Index: libelftc_dem_gnu3.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- libelftc_dem_gnu3.c (revision 296556) +++ libelftc_dem_gnu3.c (working copy) @@ -2842,7 +2842,7 @@ case 'w': /* wchar_t */ - if (!cpp_demangle_push_str(ddata, "wchar_t", 6)) + if (!cpp_demangle_push_str(ddata, "wchar_t", 7)) goto clean; ++ddata->cur; goto rtn; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208661-8>