Skip to content
Commit 7e78c875 authored by liuyang34's avatar liuyang34 Committed by Paul Moore
Browse files

selinuxfs: use scnprintf to get real length for inode



The return value of snprintf maybe over the size of TMPBUFLEN, use
scnprintf instead in sel_read_class and sel_read_perm.

Signed-off-by: default avatarliuyang34 <liuyang34@xiaomi.com>
[PM: cleaned up the description]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent f1268534
Loading
Loading
Loading
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