diff options
author | Amar Tumballi <amarts@redhat.com> | 2012-04-11 14:40:44 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-04-11 10:07:52 -0700 |
commit | 0bfadb56d0ce0ffaa410eccb2a9d9eaaf6f3ab7c (patch) | |
tree | 7b0783eee8f49dcfefdb0e69351747ab73cc551f /glusterfsd | |
parent | f56404a3358c799f907f36aecedf774b1875a56c (diff) |
protocol/server: validate connection object before dereferencing
in 'release()' and 'releasedir()' fops the check for 'connection object'
was not done before dereferencing it. the check was in place for all
other fops. handling the missing cases now.
also removed some warnings related to 'set-but-unused'
Change-Id: I47b95318e8f2f28233179be509ce090b2fb7276d
Signed-off-by: Amar Tumballi <amarts@redhat.com>
BUG: 801411
Reviewed-on: http://review.gluster.com/3125
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions