Skip to content
Commit 87ea5843 authored by Eric Biggers's avatar Eric Biggers Committed by James Morris
Browse files

security: check for kstrdup() failure in lsm_append()



lsm_append() should return -ENOMEM if memory allocation failed.

Fixes: d69dece5 ("LSM: Add /sys/kernel/security/lsm")
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarJames Morris <james.morris@microsoft.com>
parent 83a68a06
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