Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
dbus
dbus
Commits
c89cbed9
Commit
c89cbed9
authored
Jan 06, 2015
by
Simon McVittie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
selinux: avoid leaking on systems where va_start allocates memory
Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=88087
parent
1650d77b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
bus/selinux.c
bus/selinux.c
+3
-1
No files found.
bus/selinux.c
View file @
c89cbed9
...
...
@@ -157,12 +157,14 @@ log_callback (const char *fmt, ...)
vsnprintf
(
buf
,
sizeof
(
buf
),
fmt
,
ap
);
audit_log_user_avc_message
(
audit_fd
,
AUDIT_USER_AVC
,
buf
,
NULL
,
NULL
,
NULL
,
getuid
());
return
;
goto
out
;
}
}
#endif
/* HAVE_LIBAUDIT */
vsyslog
(
LOG_USER
|
LOG_INFO
,
fmt
,
ap
);
out:
va_end
(
ap
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment