DescriptionFix up strings Sky passes to base/trace_event
String parameters passed to the trace macros in base/trace_event must
either be std::string (which Sky doesn't use very much), pointers to
null terminated C-style strings that live forever (like a string
literal) pointers to C-style strings that are annotated by macro as
needing to be copied. This fixes up a few instances that passed pointers
to temporary strings without the copying annotation or pointers to
non-null-terminated strings so the trace data doesn't have random
garbage memory in it.
R=eseidel@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/59689550d58a02d0e76145f51a3587d96b87b329
Patch Set 1 #
Total comments: 6
Messages
Total messages: 8 (2 generated)
|