summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2014-02-28 12:13:55 +0530
committerAnand Avati <avati@redhat.com>2014-03-01 19:04:00 -0800
commit9f45d0f6212d6d5c96dafc4aba73d9d12b39c3d6 (patch)
treea28c29b92ee8a4f083b71e91c014ef92b79bf021 /xlators/protocol
parent7b3399cd462d0fca6509168f13a67f43e8b2c7d2 (diff)
libglusterfs/inode: Fix NULL dereferences.
There could be scenarios where the inode_ctx_get() can be called to only check if the context exists, in such cases the buffer for the context might not have been passed. Hence fix inode_ctx_get() to not crash, when the buffer is not passed. Change-Id: I607d86eb401ccab0e5cd75f6f977c454994ec063 BUG: 789278 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/7167 Reviewed-by: Santosh Pradhan <spradhan@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions