chiark / gitweb /
Clear up confusion wrt. ENTRY_SIZE_MAX and DATA_SIZE_MAX
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 14 Jul 2014 20:53:23 +0000 (16:53 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Jul 2014 02:34:42 +0000 (22:34 -0400)
commit874bc134ac6504c45e94174e37af13ff21a6bfe2
treed53dfbfa9fd082d119f3eb732e1a10ac9055bc61
parent93c0969cf91c4e4973806181a6098b66a4e8e2f8
Clear up confusion wrt. ENTRY_SIZE_MAX and DATA_SIZE_MAX

Define DATA_SIZE_MAX to mean the maximum size of a single
field, and ENTRY_SIZE_MAX to mean the size of the whole
entry, with some rough calculation of overhead over the payload.

Check if entries are not too big when processing native journal
messages.
src/journal/coredump.c
src/journal/journald-native.c
src/journal/journald-native.h