]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
libcephfs_proxy: fix userperm pointer decoding for older protocols
authorXavi Hernandez <xhernandez@gmail.com>
Mon, 1 Sep 2025 12:43:26 +0000 (14:43 +0200)
committerXavi Hernandez <xhernandez@gmail.com>
Wed, 10 Sep 2025 08:03:00 +0000 (10:03 +0200)
commit98d3972b5635b0b9bdb6c9936b01cba4551939cd
tree39c3db33623eccabc4318ffa23a39ee9233fb7d5
parentd3939f99fc294ab0f98a845b96271127eecb444f
libcephfs_proxy: fix userperm pointer decoding for older protocols

The random data used to decode pointers coming from the old protocol was
taken from the client instead of using the global_random data, which is
the correct one.

Fixes: https://tracker.ceph.com/issues/72800
Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
(cherry picked from commit 674bd44001d6feb919a331d4a4586cc0d97847f8)
src/libcephfs_proxy/libcephfsd.c