commit | 0c9fe71dfa3a702e9357835f5f144eb46314bf27 | [log] [tgz] |
---|---|---|
author | erikchen <[email protected]> | Fri Mar 11 22:07:49 2016 |
committer | Commit bot <[email protected]> | Fri Mar 11 22:09:01 2016 |
tree | db3d7a25e64f33e7a42fa04808205390e51dd62f | |
parent | adc92e4bb30abefeca2038dcc0b691afe838dea9 [diff] |
base: Add nullptr checks to logging.cc. Avoid calling wstrlen() or strlen() on nullptrs, as that causes undefined behavior. BUG=593561 Review URL: https://codereview.chromium.org/1778083003 Cr-Commit-Position: refs/heads/master@{#380747}