path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
authorSantosh Kumar Pradhan <>2014-02-03 15:12:22 +0530
committerVijay Bellur <>2014-02-07 08:43:59 -0800
commit9f699ccd42712e5b991bd33319caf1e5c902f894 (patch)
tree7e1594145b7ab3edabdecf5651ff4a2aa1d51f8e /xlators/mgmt/glusterd/src/glusterd-handler.c
parent432f7e45b2ddf511660d269548f248217a2b45ad (diff)
gNFS: Possible NULL pointer dereference
In NFS-ACL code (acl3.c) i.e. acl3svc_setacl(), contol can go to "acl3err" block from setaclargs.mask validation or acl3_validate_gluster_fh() and acl3_map_fh_to_volume() macros. But at this point of time "cs" is yet to be init'd (the macro acl3_handle_call_state_init() is not yet invoked) which can cause a NULL ptr deref. FIX: Refactor the acl3 code. Coverity ID (CID): 1124491 Change-Id: I3aca38770e03ce59d1705653b6d8349e6cc153b2 BUG: 789278 Signed-off-by: Santosh Kumar Pradhan <> Reviewed-on: Reviewed-by: Rajesh Joseph <> Reviewed-by: Niels de Vos <> Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
0 files changed, 0 insertions, 0 deletions