[Bugs] [Bug 1655578] New: Incorrect usage of local->fd in afr_open_ftruncate_cbk
bugzilla at redhat.com
bugzilla at redhat.com
Mon Dec 3 13:16:26 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1655578
Bug ID: 1655578
Summary: Incorrect usage of local->fd in
afr_open_ftruncate_cbk
Product: Red Hat Gluster Storage
Version: 3.3
Component: replicate
Severity: high
Assignee: ravishankar at redhat.com
Reporter: skoduri at redhat.com
QA Contact: nchilaka at redhat.com
CC: bugs at gluster.org, ravishankar at redhat.com,
rhs-bugs at redhat.com, sankarshan at redhat.com,
storage-qa-internal at redhat.com
Depends On: 1648687
Blocks: 1651322, 1655527
External Bug ID: Gluster.org Gerrit 21617
+++ This bug was initially created as a clone of Bug #1648687 +++
Description of problem:
afr_open() stores fd reference in local->cont.open structure. But in the
callback function "afr_open_ftruncate_cbk" ( when openflags contain 'O_TRUNC'
set), we reference local->fd in AFR_STACK_UNWIND resulting in error or crash.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--- Additional comment from Soumya Koduri on 2018-11-11 12:34:37 EST ---
Patch posted for review - https://review.gluster.org/#/c/glusterfs/+/21617/
--- Additional comment from Worker Ant on 2018-11-11 12:45:42 EST ---
REVIEW: https://review.gluster.org/21617 (afr: open_ftruncate_cbk should read
fd from local->cont.open struct) posted (#2) for review on master by soumya k
--- Additional comment from Worker Ant on 2018-11-15 00:08:03 EST ---
REVIEW: https://review.gluster.org/21617 (afr: open_ftruncate_cbk should read
fd from local->cont.open struct) posted (#8) for review on master by
Ravishankar N
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1648687
[Bug 1648687] Incorrect usage of local->fd in afr_open_ftruncate_cbk
https://bugzilla.redhat.com/show_bug.cgi?id=1651322
[Bug 1651322] Incorrect usage of local->fd in afr_open_ftruncate_cbk
https://bugzilla.redhat.com/show_bug.cgi?id=1655527
[Bug 1655527] Incorrect usage of local->fd in afr_open_ftruncate_cbk
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=HcspbRC7HX&a=cc_unsubscribe
More information about the Bugs
mailing list