Bug 761963 (GLUSTER-231) - Quick-read: Fix access of freed memory in qr_open_cbk.
Summary: Quick-read: Fix access of freed memory in qr_open_cbk.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-231
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-01 04:14 UTC by Raghavendra G
Modified: 2009-11-25 08:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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.)


Note You need to log in before you can comment on or make changes to this bug.