We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c76940 commit c0f9cb3Copy full SHA for c0f9cb3
src/auditd-event.c
@@ -468,6 +468,8 @@ static const char *format_enrich(const struct audit_reply *rep)
468
469
// Loop over all fields while possible to add field
470
rc = auparse_first_record(au);
471
+ if (rc != 1)
472
+ format_buf[mlen] = 0; //remove newline on failure
473
rtype = auparse_get_type(au);
474
switch (rtype)
475
{ // Flush before adding to pickup new associations
0 commit comments