Commit 33c455d4 authored by Karol Lewandowski's avatar Karol Lewandowski Committed by juho
Browse files

Don't die in case of messages lacking priority in first byte

dlogutil expects first byte of message returned from kernel
to be priority selector.  This is not always the case - misbehaving
apps can write anything to /dev/log_* causing dlogutil to crash.

This commit fixes this problem and logs such messages with "[NO TAG]"
string at "error" priority.
parent 0f2940bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment