commit | 820defebf4ead19c96ecc36a16dba85f315c0931 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <[email protected]> | Thu Jul 23 18:22:19 2020 +0300 |
committer | Greg Kroah-Hartman <[email protected]> | Wed Aug 19 08:14:59 2020 +0200 |
tree | ca7dd97d55bad2b03f8bebbc8a8a950adf2b4250 | |
parent | b6be0b71eaaa2eb71d87d29f2775c74a36d320ad [diff] |
Smack: fix another vsscanf out of bounds [ Upstream commit a6bd4f6d9b07452b0b19842044a6c3ea384b0b88 ] This is similar to commit 84e99e58e8d1 ("Smack: slab-out-of-bounds in vsscanf") where we added a bounds check on "rule". Reported-by: [email protected] Fixes: f7112e6c9abf ("Smack: allow for significantly longer Smack labels v4") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Casey Schaufler <[email protected]> Signed-off-by: Sasha Levin <[email protected]>