[Bug sanitizer/81068] Sanitizer memory leak in codecvt_utf8

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 19 14:10:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81068

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The difference in results isn't very relevant. I'm pretty sure the reason for
the sanitizer errors is that libstdc++.so isn't instrumented by the sanitizers.
If you build libstdc++.so with UBsan you wouldn't get the errors (although last
time I tried, building libstdc++.so with UBsan isn't possible due to compiler
bugs).


More information about the Gcc-bugs mailing list