]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_erlang_event] coverity CID 1500239 (Uninitialized scalar variable) 2053/head
authorDragos Oancea <dragos@signalwire.com>
Mon, 10 Apr 2023 14:48:33 +0000 (17:48 +0300)
committerDragos Oancea <dragos@signalwire.com>
Mon, 17 Apr 2023 11:51:45 +0000 (14:51 +0300)
src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c

index d15f748eb78d7f77ad6dae0077d97592574a248f..bd7bf8e26c0354f6c4d2888dfc9d727c9c9d2782 100644 (file)
@@ -1998,7 +1998,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_erlang_event_runtime)
        struct ei_cnode_s ec;
        ErlConnect conn;
        int clientfd;
-       switch_os_socket_t epmdfd;
+       switch_os_socket_t epmdfd = SWITCH_SOCK_INVALID;
        switch_socket_t *epmd_sock = NULL;
 
        if (switch_core_new_memory_pool(&pool) != SWITCH_STATUS_SUCCESS) {