Project

General

Profile

Actions

Bug #16358

closed

Session::check_access() is buggy

Added by Zheng Yan almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Security Model
Target version:
-
% Done:

0%

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

Description

It calls CInode::make_path_string(path, false, in->get_projected_parent_dn()). The second argument 'false' makes the third argument useless. For newly created inode, the returned path is something like #1xxxxxxxxx. This can cause the access check fails.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #16515: jewel: Session::check_access() is buggyResolvedXiaoxi ChenActions
Actions

Also available in: Atom PDF