make sure headline is not overflown refs #2
always add space for the NULL byte refs #2
check provided `* count` is not NULL refs #2
use `strol` instead of unsafe `atoi` refs #2
check we have something to log refs #2
ChangeLog refs #2