Nils Schneider 717422c12c log: avoid buffer overflow in vlog
`vlog()` can not handle log messages longer than 4096 bytes. However, the
message generated in `store_restart_layout()` is likely to exceed this
as it contains a long JSON string.

This has caused a few SEGFAULTS during restarts for me when running with
`-d all`.

Fix this by truncating the message to 4096 bytes and punching in a newline at
the end.
2015-09-21 14:27:22 +02:00
2015-09-08 09:25:53 +02:00
2015-08-03 12:50:50 +03:00
2015-09-08 09:19:17 +02:00
2015-09-21 14:27:22 +02:00
2015-07-30 07:44:10 -04:00
2011-08-28 17:44:42 +02:00
2011-08-28 17:44:42 +02:00
2015-09-08 09:19:17 +02:00
Description
No description provided
15 MiB
Languages
C 58.6%
Perl 29%
Raku 9.4%
Ruby 1.2%
Shell 0.7%
Other 1.1%