Bug 763163 (GLUSTER-1431) - cli: check if arguments exist before the accessing them
Summary: cli: check if arguments exist before the accessing them
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1431
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.1-alpha
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-25 07:18 UTC by Pranith Kumar K
Modified: 2010-08-27 09:35 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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)


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