commit | e0d5c7cd0d32cafe88cf119b8dd00534a20f6a50 | [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 | 735d15fb928b4d7ed39431ce2df70f71cf81e255 [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