From 0af88a6c33e8fd57745997afb7c68e4ef6023fbf Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Mon, 9 Sep 2019 10:01:04 +0530 Subject: glusterd, rpc, glusterfsd: fix coverity defects and put required annotations 1404965 - Null pointer dereference 1404316 - Program hangs 1401715 - Program hangs 1401713 - Program hangs Updates: bz#789278 Change-Id: I6e6575daafcb067bc910445f82a9d564f43b75a2 Signed-off-by: Atin Mukherjee --- glusterfsd/src/glusterfsd-mgmt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 1d097fb17f5..7eb8b4ba4ae 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -1181,6 +1181,7 @@ glusterfs_handle_svc_detach(rpcsvc_request_t *req) ret = 0; goto out; } + /* coverity[ORDER_REVERSAL] */ ret = glusterfs_process_svc_detach(ctx, volfile_tmp); if (ret) { UNLOCK(&ctx->volfile_lock); -- cgit