Bug 761963 (GLUSTER-231)

Summary: Quick-read: Fix access of freed memory in qr_open_cbk.
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: unclassifiedAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, rabhat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra G 2009-09-01 04:14:06 UTC
It may so happen that current frame might be unwound and local might be freed when waiting operations are resumed. Hence store the information of whether this frame belongs to an open call in a local variable, instead accessing the flag from local at the end of qr_open_cbk.

Comment 1 Anand Avati 2009-09-08 07:22:38 UTC
PATCH: http://patches.gluster.com/patch/1192 in master (performance/quick-read: Fix access of freed memory in qr_open_cbk.)