Project

General

Profile

Bug #17911

ensure that we vet the ceph_statx flags masks in libcephfs API

Added by Jeff Layton about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently, we allow callers to set flags that are not properly defined. This could be bad if we want to add new flags in the future. Ensure that we properly vet them when called, and return -EINVAL (or something similar) if undefined flags are set in the request.

History

#1 Updated by Jeff Layton about 6 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF