summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorHolger Dengler <dengler@linux.ibm.com>2026-06-17 19:06:39 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2026-06-19 14:51:08 +0200
commit1ac287e2af9a9112fe271427ef45eceb26bce8b4 (patch)
treed31454f1dd9efbf041f4bfdd0c01f7a327f23e2a /scripts/dummy-tools/python3
parentb3d4ab2d7df9426f7f1d3671d7e2108f2ca6e970 (diff)
s390/pkey: Check length in pkey_pckmo handler implementation
Explicitly check the length of the target buffer in the pkey_pckmo implementation of the key_to_protkey() handler function. The handler function fails, if the generated output data exceeds the length of the provided target buffer. Cc: stable@vger.kernel.org Fixes: 8fcc231ce3be ("s390/pkey: Introduce pkey base with handler registry and handler modules") Reported-by: Christian Borntraeger <borntraeger@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions