• Bret Sepulveda's avatar
    Escape backslashes when logging. · f642de00
    Bret Sepulveda authored
    Log::MessageBuilder was already escaping most unsafe characters when
    they were being logged, but plain backslashes were not. Merely updating
    the existing escaping path was not sufficient, as recursion would cause
    escape codes to be doubly escaped. This patches refactors the API to
    ensure incoming text is escaped exactly once.
    
    Bug: v8:8039
    Change-Id: Id48aabf29fb6153189ae4a1ad7dfaaf4b41b62ad
    Reviewed-on: https://chromium-review.googlesource.com/1169049Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Commit-Queue: Bret Sepulveda <bsep@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55038}
    f642de00
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...