Skip to content
Commit b87ce6e4 authored by Eric Paris's avatar Eric Paris Committed by Al Viro
Browse files

Audit: better estimation of execve record length



The audit execve record splitting code estimates the length of the message
generated.  But it forgot to include the "" that wrap each string in its
estimation.  This means that execve messages with lots of tiny (1-2 byte)
arguments could still cause records greater than 8k to be emitted.  Simply
fix the estimate.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 35aa901c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment