diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-07-23 17:23:05 +0200 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2020-07-27 22:35:12 +0200 |
commit | 42a2df3e829f3c5562090391b33714b2e2e5ad4a (patch) | |
tree | 673418527d96c2f8fc17db77214bd477b4cc0e92 /net/qrtr | |
parent | Smack: fix another vsscanf out of bounds (diff) | |
download | linux-42a2df3e829f3c5562090391b33714b2e2e5ad4a.tar.xz linux-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/qrtr')
0 files changed, 0 insertions, 0 deletions