Actions
Bug #11517
closedLibcephfs: Doesn't check file's open mode when do read/write
% Done:
0%
Source:
other
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
Something like this:
fd = cephfs_open(path, O_WRONLY|O_CREAT, 0)
cephfs.read(fd, buf, 0, 10) // ok, but actually we need to return error
Actions