Bug 763163 - (GLUSTER-1431) cli: check if arguments exist before the accessing them
cli: check if arguments exist before the accessing them
Status: CLOSED CURRENTRELEASE
Product: GlusterFS
Classification: Community
Component: cli (Show other bugs)
3.1-alpha
All Linux
low Severity high
: ---
: ---
Assigned To: Pranith Kumar K
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-25 03:18 EDT by Pranith Kumar K
Modified: 2010-08-27 05:35 EDT (History)
1 user (show)

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
Description Anand Avati 2010-08-25 02:08:50 EDT
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 03:18:25 EDT
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 02:15:35 EDT
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.