diff options
author | 2020-07-23 18:23:05 +0300 | |
---|---|---|
committer | 2020-07-27 13:35:12 -0700 | |
commit | 42a2df3e829f3c5562090391b33714b2e2e5ad4a (patch) | |
tree | 673418527d96c2f8fc17db77214bd477b4cc0e92 /net/unix/af_unix.c | |
parent | Smack: fix another vsscanf out of bounds (diff) | |
download | linux-dev-42a2df3e829f3c5562090391b33714b2e2e5ad4a.tar.xz linux-dev-42a2df3e829f3c5562090391b33714b2e2e5ad4a.zip |
Smack: prevent underflow in smk_set_cipso()
We have an upper bound on "maplevel" but forgot to check for negative
values.
Fixes: e114e473771c ("Smack: Simplified Mandatory Access Control Kernel")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions