]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
sestore/omap_manager/btree: prevent heap buffer overflow in log 68701/head
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Wed, 29 Apr 2026 15:59:07 +0000 (21:29 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Thu, 30 Apr 2026 17:35:50 +0000 (23:05 +0530)
commitad0d555a5ac3a89f1cf3d32eb35998370fdbfdc8
treeb3f8cc9b85ddb65b31abe3a9625c351971c7253b
parentb5d482262b9dedd76e6119289e0973e7235c7f81
sestore/omap_manager/btree: prevent heap buffer overflow in log

This commit fixes a heap overflow in omap_btree_node_impl when
logging the full bufferlist. This issue was already tracked in
https://tracker.ceph.com/issues/71524. To prevent this from happening,
we log the length of the bufferlist instead of the full log.

Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc