Project

General

Profile

Bug #19865

test_librbd.cc get_features() can return with features uninitialized

Added by Dan Mick 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
-
Start date:
05/04/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

get_features() does some work to parse RBD_FEATURES from the environment if supplied, but if not, it sets *old_format to true...but doesn't set *features at all, and some of its callers then refer to features. This causes tests to fail on arm64, where the stack garbage presumably is different.

set *features to 0 if RBD_FEATURES is not found in the env.

History

#1 Updated by Dan Mick 6 months ago

  • Status changed from New to Need Review
  • Assignee set to Dan Mick

#2 Updated by Nathan Cutler 6 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF