]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Use correct size for fscrypt dummy key 68141/head
authorChristopher Hoffman <choffman@redhat.com>
Mon, 30 Mar 2026 19:30:53 +0000 (19:30 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Mon, 30 Mar 2026 19:30:53 +0000 (19:30 +0000)
commitb625cf130e312e003bad12a0338d2842d04f2a9e
tree05ed8baa5135a12ddcf4c85a83abe4cbfed0d0fd
parent5e89aff28c6570f888de14fe56a8c05bbbf3d757
client: Use correct size for fscrypt dummy key

Use the correct size of FSCRYPT_MAX_KEY_SIZE for master
key when using fscrypt dummy encyption. If smaller size
used, a seg fault occurs if fscrypt crypto library attempts
to read unmapped memory.

Fixes: https://tracker.ceph.com/issues/75254
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc