Project

General

Profile

Actions

Bug #41837

closed

client: lseek function does not return the correct value.

Added by wenpeng li over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

If pos is initialized to -1 in the lseek function, then when offset is 0, EINVAL may be returned.


Files

EOVR6WF0C(CIME{[FWUFM67.png (26.4 KB) EOVR6WF0C(CIME{[FWUFM67.png wenpeng li, 09/16/2019 02:40 AM

Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #42034: mimic: client: lseek function does not return the correct value.ResolvedNathan CutlerActions
Copied to CephFS - Backport #42035: nautilus: client: lseek function does not return the correct value.ResolvedNathan CutlerActions
Actions

Also available in: Atom PDF