Bug 763163 (GLUSTER-1431)

Summary: cli: check if arguments exist before the accessing them
Product: [Community] GlusterFS Reporter: Pranith Kumar K <pkarampu>
Component: cliAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: 3.1-alphaCC: gluster-bugs
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: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anand Avati 2010-08-25 06:08:50 UTC
PATCH: http://patches.gluster.com/patch/4286 in master (cli: check if the arguments are present before accessing)

Comment 1 Pranith Kumar K 2010-08-25 07:18:25 UTC
All functions in cli-cmd-parser.c are accessing arguments without checking for their presence which cause NULL dereference, which leads to the cli crashes.

Comment 2 Vijay Bellur 2010-08-27 06:15:35 UTC
PATCH: http://patches.gluster.com/patch/4334 in master (cli: command parse validation)