Project

General

Profile

Actions

Bug #17911

closed

ensure that we vet the ceph_statx flags masks in libcephfs API

Added by Jeff Layton over 7 years ago. Updated over 7 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.

Actions #1

Updated by Jeff Layton over 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF