Skip to content

quincy: os/bluestore: fix crash caused by dividing by 0 - #57198

Merged
yuriw merged 1 commit into
ceph:quincyfrom
k0ste:wip-63316-quincy
Jul 17, 2024
Merged

yuriw merged 1 commit into
ceph:quincyfrom
k0ste:wip-63316-quincy

Conversation

@k0ste

@k0ste k0ste commented May 1, 2024

Copy link
Copy Markdown
Contributor

In Allocator::create() => ZonedAllocator::ZonedAllocator()
num_zones is calculated by size / zone_size,
causing a crash when zone_size is set to 0

Signed-off-by: Jrchyang Yu <[email protected]>
(cherry picked from commit 4364ebd)
@k0ste
k0ste requested a review from a team as a code owner May 1, 2024 10:32
@github-actions github-actions Bot added this to the quincy milestone May 1, 2024
@ljflores

Copy link
Copy Markdown
Member

@yuriw
yuriw merged commit 2049d3e into ceph:quincy Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants