]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: check if length exist in mark_space_used and mark_space_free
authorXinyu Huang <xinyu.huang@intel.com>
Fri, 21 Apr 2023 14:42:00 +0000 (14:42 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 11 Oct 2023 11:40:57 +0000 (11:40 +0000)
commitb47fad7b4ae323fb28ac70d7721ba79b5ec0b8ae
tree7405b7e489c3cb62c36b4b459c20f83c2cc4c921
parent6448732f3997624462a33bce1294856d1e694840
crimson/os/seastore: check if length exist in mark_space_used and mark_space_free

to avoid misuse of buffer length and data length when there is a no actual data extent

Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
(cherry picked from commit dc4a23cef3787099dcc17f99b05f4ec1a63eca9a)
src/crimson/os/seastore/async_cleaner.cc