~martijnbraam/logbookd#5: 
Segfault when feeding non-syslog-formatted data

I was feeding random text into /dev/log to see how it showed up:

cat test.scfg | socat  /dev/log STDIO

And logbookd segfaulted:

[Jan 27 22:40:32] kern kernel: logbookd[23211]: segfault at 0 ip 00007f2ff492a458 sp 00007ffca28eff38 error 4 in ld-musl-x86_64.so.1[7f2ff48e5000+54000] likely on CPU 10 (core 20, socket 0)
[Jan 27 22:40:32] kern kernel: Code: 48 89 f8 eb 04 48 83 c0 01 a8 07 74 09 80 38 00 75 f3 48 29 f8 c3 49 b8 ff fe fe fe fe fe fe fe 48 be 80 80 80 80 80 80 80 80 <48> 8b 10 4a 8d 0c 02 48 f7 d2 48 21 ca 48 85 f2 75 06 48 83 c0 08

No entirely sure how to provide more useful debugging information, but I think this is pretty easy to reproduce.

Status
REPORTED
Submitter
~whynothugo
Assigned to
Submitted
1 year, 18 days ago
Updated
1 year, 15 days ago
Labels
No labels applied.