diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2021-11-30 10:55:56 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-01-03 17:43:10 +0100 |
commit | 233e93b4742f340fb427046e874f28472a97dd21 (patch) | |
tree | c95be9df20e78f7a1f508637151bec63c4747223 /filter | |
parent | 9a0487a2b4d8877392d872542a5ada489e454b90 (diff) |
output: JSON: increase time-stamp buffer size
The output buffer for date-times is of sufficient size provided that we
don't get oversized integer values for any of the fields, which is a
reasonable assumption. However, the compiler complains about possible
truncation, e.g.:
ulogd_output_JSON.c:314:65: warning: `%06u` directive output may be truncated writing between 6 and 10 bytes into a region of size between 0 and 18
ulogd_output_JSON.c:313:25: note: `snprintf` output between 27 and 88 bytes into a destination of size 38
Fix the warnings by increasing the buffer size.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'filter')
0 files changed, 0 insertions, 0 deletions