commit | 6efb877973fd66ad905d423bebe062bf7dd7c6ba | [log] [tgz] |
---|---|---|
author | Ting-Yuan Huang <laszio@google.com> | Tue Feb 07 16:40:35 2017 -0800 |
committer | Ting-Yuan Huang <laszio@google.com> | Tue Feb 07 16:42:53 2017 -0800 |
tree | 82d3335748e3cd1c395db297d274ce7efc9b915e | |
parent | 8eb237ad57a0a9b17b264d7528d9e01fe6b7e1d2 [diff] |
liblog: fix an undefined-behavor in __write_to_log_daemon() The behavior of passing NULL to c-string functions is undefined. Test: passed clang-tidy checks Bug: none Change-Id: Ie7bcc43cd19bc4a1c314381af3929eae0a6154b9