summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2019-09-09 10:01:04 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-09-10 04:18:45 +0000
commit0af88a6c33e8fd57745997afb7c68e4ef6023fbf (patch)
tree8e48ca5fc7a08ae7453345223e633c01c1c75687 /rpc
parentea95631ff47c8048f039faedbc0faa918c4e165a (diff)
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 <amukherj@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 2fbcbf4..26903df 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -3801,6 +3801,7 @@ socket_listen(rpc_transport_t *this)
}
}
+ /* coverity[SLEEP] */
ret = __socket_server_bind(this);
if ((ret == -EADDRINUSE) || (ret == -1)) {