steleman / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

Support %lc in the printf wrapper #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When building Chromium we're getting the following warnings from the host 
binaries with check_printf=1:

==27134==WARNING: unexpected format specifier in printf interceptor: %lc
==27134==WARNING: unexpected format specifier in printf interceptor: %lc
==27134==WARNING: unexpected format specifier in printf interceptor: %lc
==27134==WARNING: unexpected format specifier in printf interceptor: %lc
==27134==WARNING: unexpected format specifier in printf interceptor: %lc

Need to fix those.

Original issue reported on code.google.com by gli...@chromium.org on 28 Apr 2014 at 9:54

GoogleCodeExporter commented 9 years ago
I'll take a look at these.

Original comment by samso...@google.com on 28 Apr 2014 at 6:11

GoogleCodeExporter commented 9 years ago
r207443 should help with that. We still don't look for out-of-bound errors in 
wide-character strings, but I think this is a pretty low-priority feature.

Original comment by samso...@google.com on 28 Apr 2014 at 8:50