aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-07-06 05:52:39 +0000
committerCasey Schaufler <[email protected]>2023-08-07 21:09:23 +0000
commit3ad49d37cf5759c3b8b68d02e3563f633d9c1aee (patch)
tree1c1ce8e2546ca1d443aed397d939b92efd3c2b84 /tools/perf/scripts/python
parentsecurity: smack: smackfs: fix typo (lables->labels) (diff)
downloadkernel-3ad49d37cf5759c3b8b68d02e3563f633d9c1aee.tar.gz
kernel-3ad49d37cf5759c3b8b68d02e3563f633d9c1aee.zip
smackfs: Prevent underflow in smk_set_cipso()
There is a upper bound to "catlen" but no lower bound to prevent negatives. I don't see that this necessarily causes a problem but we may as well be safe. Fixes: e114e473771c ("Smack: Simplified Mandatory Access Control Kernel") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions