https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208661
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: [email protected]
Reporter: [email protected]
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
===================================================================
--- 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;
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"