Skip to content
Commit a6bd4f6d authored by Dan Carpenter's avatar Dan Carpenter Committed by Casey Schaufler
Browse files

Smack: fix another vsscanf out of bounds



This is similar to commit 84e99e58 ("Smack: slab-out-of-bounds in
vsscanf") where we added a bounds check on "rule".

Reported-by: default avatar <syzbot+a22c6092d003d6fe1122@syzkaller.appspotmail.com>
Fixes: f7112e6c ("Smack: allow for significantly longer Smack labels v4")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent beb4ee67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment