Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: os/bluestore: fix length overflow. #27366

merged 1 commit into from May 1, 2019


None yet
6 participants
Copy link

commented Apr 4, 2019

os/bluestore: fix length overflow.
In fact, length of 'struct interval_t' and 'struct bluestore_pextent_t'
is uint32_t. But len of AllocatorLevel02::_mark_allocated is uint64_t.
So it may cause data overflow which cause bug.

Signed-off-by: Jianpeng Ma <>
(cherry picked from commit 40d1340)

@ifed01 ifed01 added this to the mimic milestone Apr 4, 2019

@ifed01 ifed01 requested a review from majianpeng Apr 4, 2019

@ifed01 ifed01 changed the title os/bluestore: fix length overflow. mimic: os/bluestore: fix length overflow. Apr 4, 2019


This comment has been minimized.

Copy link

commented Apr 29, 2019

@yuriw yuriw merged commit f71eb0f into ceph:mimic May 1, 2019

4 checks passed

Docs: build check OK - docs built
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
make check make check succeeded

@ifed01 ifed01 deleted the ifed01:wip-ifed-fix-alloc-overflow-mimic branch May 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.