summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2025-07-04 16:30:50 +0200
committerIlya Dryomov <idryomov@gmail.com>2026-02-09 12:29:21 +0100
commitac431d597a9bdfc2ba6b314813f29a6ef2b4a3bf (patch)
tree3d8cd1c3581ea0eb7195307c38a81b50b136186f /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent05f7e89ab9731565d8a62e3b5d1ec206485eeb0b (diff)
libceph: define and enforce CEPH_MAX_KEY_LEN
When decoding the key, verify that the key material would fit into a fixed-size buffer in process_auth_done() and generally has a sane length. The new CEPH_MAX_KEY_LEN check replaces the existing check for a key with no key material which is a) not universal since CEPH_CRYPTO_NONE has to be excluded and b) doesn't provide much value since a smaller than needed key is just as invalid as no key -- this has to be handled elsewhere anyway. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions