Skip to content
Snippets Groups Projects
Commit 83c7d091 authored by David Woodhouse's avatar David Woodhouse
Browse files

AUDIT: Avoid log pollution by untrusted strings.


We log strings from userspace, such as arguments to open(). These could
be formatted to contain \n followed by fake audit log entries. Provide
a function for logging such strings, which gives a hex dump when the
string contains anything but basic printable ASCII characters. Use it
for logging filenames.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent c60c3906
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment