Merge "liblog: null terminate log_msg" am: 1153fbbcd3 am: e99965bc72 am: d1f872b377

Change-Id: I6bd11ef7ca0e8b69e6d28626b4d49ee2ecca1b11