Merge "liblog: fix an undefined-behavor in __write_to_log_daemon()" am: a3b6d30ba7 am: 68a6676c77 am: 327cd83060
am: c89cc9522b

Change-Id: Id554580436b6b169e5359003e8fd798030900c45