Bug 761856 (GLUSTER-124)

Summary: state allocation failure not handled
Product: [Community] GlusterFS Reporter: Csaba Henk <csaba>
Component: fuseAssignee: Csaba Henk <csaba>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, vinayak
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 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)