Skip to content
Commit 314dabb8 authored by James Morris's avatar James Morris
Browse files

SELinux: fix memory leakage in /security/selinux/hooks.c



Fix memory leakage in /security/selinux/hooks.c

The buffer always needs to be freed here; we either error
out or allocate more memory.

Reported-by: default avatariceberg <strakh@ispras.ru>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
Acked-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 85dfd81d
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