Project

General

Profile

Actions

Bug #44015

open

Cant compile src/tools/rados/rados.cc on 32 bit systems

Added by Stefan Bischoff about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
rados tool
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On my machine size_t is unsigned int. This causes an overflow in src/tools/rados/rados.cc:776: max_obj_len = 5ull * 1024ull * 1024ull * 1024ull;
max_obj_len should be uint64. it was uint64 but has been changed for some reason.

Actions

Also available in: Atom PDF