Bug 761856 (GLUSTER-124) - state allocation failure not handled
Summary: state allocation failure not handled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-124
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-09 12:09 UTC by Csaba Henk
Modified: 2009-11-23 07:37 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 Csaba Henk 2009-07-09 12:09:06 UTC
The function state_from_req() can return NULL in case calloc(3) fails. However, the code using it never checks for NULL.

Comment 1 Anand Avati 2009-07-16 03:14:53 UTC
PATCH: http://patches.gluster.com/patch/725 in master (fuse-bridge: handle state allocation failure)


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