=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== janus-0.10.8/autogen.sh-2- janus-0.10.8/autogen.sh:3:srcdir=`dirname $0` janus-0.10.8/autogen.sh-4-test -z "$srcdir" && srcdir=. ############################################## janus-0.10.8/events/janus_gelfevh.c-162- if(getaddrinfo(backend, NULL, NULL, &res) != 0 || janus-0.10.8/events/janus_gelfevh.c:163: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/events/janus_gelfevh.c-164- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/events/janus_gelfevh.c-182- servaddr.sin_port = htons(atoi(port)); janus-0.10.8/events/janus_gelfevh.c:183: servaddr.sin_addr.s_addr = inet_addr(host); janus-0.10.8/events/janus_gelfevh.c-184- ############################################## janus-0.10.8/html/e2etest.js-576- if(keyIdentifier !== currentKeyIdentifier) { janus-0.10.8/html/e2etest.js:577: console.log(`Key identifier mismatch, got ${keyIdentifier} expected ${currentKeyIdentifier}.`); janus-0.10.8/html/e2etest.js-578- return; ############################################## janus-0.10.8/ice.c-990- } janus-0.10.8/ice.c:991: StunMessageReturn ret = stun_message_find_xor_addr(&msg, STUN_ATTRIBUTE_XOR_MAPPED_ADDRESS, (struct sockaddr_storage *)address, &addrlen); janus-0.10.8/ice.c-992- JANUS_LOG(LOG_VERB, " >> XOR-MAPPED-ADDRESS: %d\n", ret); janus-0.10.8/ice.c-993- if(ret == STUN_MESSAGE_RETURN_SUCCESS) { janus-0.10.8/ice.c:994: if(janus_network_address_from_sockaddr(address, public_addr) != 0) { janus-0.10.8/ice.c-995- JANUS_LOG(LOG_ERR, "Could not resolve XOR-MAPPED-ADDRESS...\n"); ############################################## janus-0.10.8/ice.c-1008- } janus-0.10.8/ice.c:1009: ret = stun_message_find_addr(&msg, STUN_ATTRIBUTE_MAPPED_ADDRESS, (struct sockaddr_storage *)address, &addrlen); janus-0.10.8/ice.c-1010- JANUS_LOG(LOG_VERB, " >> MAPPED-ADDRESS: %d\n", ret); janus-0.10.8/ice.c-1011- if(ret == STUN_MESSAGE_RETURN_SUCCESS) { janus-0.10.8/ice.c:1012: if(janus_network_address_from_sockaddr(address, public_addr) != 0) { janus-0.10.8/ice.c-1013- JANUS_LOG(LOG_ERR, "Could not resolve MAPPED-ADDRESS...\n"); ############################################## janus-0.10.8/ice.c-1042- if(getaddrinfo(stun_server, NULL, NULL, &res) != 0 || janus-0.10.8/ice.c:1043: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/ice.c-1044- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/ice.c-1100- if(getaddrinfo(turn_server, NULL, NULL, &res) != 0 || janus-0.10.8/ice.c:1101: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/ice.c-1102- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/ip-utils.c-168- janus-0.10.8/ip-utils.c:169:int janus_network_address_from_sockaddr(struct sockaddr *s, janus_network_address *a) { janus-0.10.8/ip-utils.c-170- if(!s || !a) ############################################## janus-0.10.8/ip-utils.h-165- */ janus-0.10.8/ip-utils.h:166:int janus_network_address_from_sockaddr(struct sockaddr *s, janus_network_address *a); janus-0.10.8/ip-utils.h-167- ############################################## janus-0.10.8/janus.c-2524- if(getaddrinfo(address, NULL, NULL, &res) != 0 || janus-0.10.8/janus.c:2525: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/janus.c-2526- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/janus.c-2560- if(getaddrinfo(address, NULL, NULL, &res) != 0 || janus-0.10.8/janus.c:2561: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/janus.c-2562- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/plugins/duktape-deps/duktape.c-68438- */ janus-0.10.8/plugins/duktape-deps/duktape.c:68439:/* XXX: awkward and bloated asm -- use faster internal accesses */ janus-0.10.8/plugins/duktape-deps/duktape.c-68440-DUK_LOCAL void duk__convert_to_func_template(duk_compiler_ctx *comp_ctx) { ############################################## janus-0.10.8/plugins/duktape-deps/duktape.c-91265- janus-0.10.8/plugins/duktape-deps/duktape.c:91266: /* XXX: lastIndex handling produces a lot of asm */ janus-0.10.8/plugins/duktape-deps/duktape.c-91267- ############################################## janus-0.10.8/plugins/janus_audiobridge.c-1947- while(res != NULL) { janus-0.10.8/plugins/janus_audiobridge.c:1948: if(janus_network_address_from_sockaddr(res->ai_addr, &addr) == 0 && janus-0.10.8/plugins/janus_audiobridge.c-1949- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/plugins/janus_audiobridge.c-3798- while(res != NULL) { janus-0.10.8/plugins/janus_audiobridge.c:3799: if(janus_network_address_from_sockaddr(res->ai_addr, &addr) == 0 && janus-0.10.8/plugins/janus_audiobridge.c-3800- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/plugins/janus_streaming.c-5735- if(doaudio) { janus-0.10.8/plugins/janus_streaming.c:5736: audio_fd = janus_streaming_create_fd(aport, amcast ? inet_addr(amcast) : INADDR_ANY, aiface, janus-0.10.8/plugins/janus_streaming.c-5737- audiohost, sizeof(audiohost), "Audio", "audio", name ? name : tempname, aport == 0); ############################################## janus-0.10.8/plugins/janus_streaming.c-5746- if(doaudiortcp) { janus-0.10.8/plugins/janus_streaming.c:5747: audio_rtcp_fd = janus_streaming_create_fd(artcpport, amcast ? inet_addr(amcast) : INADDR_ANY, aiface, janus-0.10.8/plugins/janus_streaming.c-5748- NULL, 0, "Audio", "audio", name ? name : tempname, artcpport == 0); ############################################## janus-0.10.8/plugins/janus_streaming.c-5765- if(dovideo) { janus-0.10.8/plugins/janus_streaming.c:5766: video_fd[0] = janus_streaming_create_fd(vport, vmcast ? inet_addr(vmcast) : INADDR_ANY, viface, janus-0.10.8/plugins/janus_streaming.c-5767- videohost, sizeof(videohost), "Video", "video", name ? name : tempname, vport == 0); ############################################## janus-0.10.8/plugins/janus_streaming.c-5780- if(dovideortcp) { janus-0.10.8/plugins/janus_streaming.c:5781: video_rtcp_fd = janus_streaming_create_fd(vrtcpport, vmcast ? inet_addr(vmcast) : INADDR_ANY, viface, janus-0.10.8/plugins/janus_streaming.c-5782- NULL, 0, "Video", "video", name ? name : tempname, vrtcpport == 0); ############################################## janus-0.10.8/plugins/janus_streaming.c-5798- if(simulcast) { janus-0.10.8/plugins/janus_streaming.c:5799: video_fd[1] = janus_streaming_create_fd(vport2, vmcast ? inet_addr(vmcast) : INADDR_ANY, viface, janus-0.10.8/plugins/janus_streaming.c-5800- NULL, 0, "Video", "video", name ? name : tempname, FALSE); ############################################## janus-0.10.8/plugins/janus_streaming.c-5816- vport2 = janus_streaming_get_fd_port(video_fd[1]); janus-0.10.8/plugins/janus_streaming.c:5817: video_fd[2] = janus_streaming_create_fd(vport3, vmcast ? inet_addr(vmcast) : INADDR_ANY, viface, janus-0.10.8/plugins/janus_streaming.c-5818- NULL, 0, "Video", "video", name ? name : tempname, FALSE); ############################################## janus-0.10.8/plugins/janus_streaming.c-5971- live_rtp_source->e2ee = e2ee; janus-0.10.8/plugins/janus_streaming.c:5972: live_rtp_source->audio_mcast = doaudio ? (amcast ? inet_addr(amcast) : INADDR_ANY) : INADDR_ANY; janus-0.10.8/plugins/janus_streaming.c-5973- live_rtp_source->audio_iface = doaudio && !janus_network_address_is_null(aiface) ? *aiface : nil; ############################################## janus-0.10.8/plugins/janus_streaming.c-5978- live_rtp_source->audio_host = g_strdup(audiohost); janus-0.10.8/plugins/janus_streaming.c:5979: live_rtp_source->video_mcast = dovideo ? (vmcast ? inet_addr(vmcast) : INADDR_ANY) : INADDR_ANY; janus-0.10.8/plugins/janus_streaming.c-5980- live_rtp_source->video_port[0] = dovideo ? vport : -1; ############################################## janus-0.10.8/plugins/janus_streaming.c-6306- *c = '\0'; janus-0.10.8/plugins/janus_streaming.c:6307: mcast = inet_addr(ip); janus-0.10.8/plugins/janus_streaming.c-6308- } ############################################## janus-0.10.8/plugins/janus_streaming.c-6612- while(info != NULL) { janus-0.10.8/plugins/janus_streaming.c:6613: if(janus_network_address_from_sockaddr(info->ai_addr, &addr) == 0 && janus-0.10.8/plugins/janus_streaming.c-6614- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/plugins/janus_streaming.c-6789- while(info != NULL) { janus-0.10.8/plugins/janus_streaming.c:6790: if(janus_network_address_from_sockaddr(info->ai_addr, &addr) == 0 && janus-0.10.8/plugins/janus_streaming.c-6791- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/plugins/janus_streaming.c-6858- if(getaddrinfo(host, NULL, NULL, &res) != 0 || janus-0.10.8/plugins/janus_streaming.c:6859: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/plugins/janus_streaming.c-6860- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/plugins/janus_videoroom.c-3835- while(res != NULL) { janus-0.10.8/plugins/janus_videoroom.c:3836: if(janus_network_address_from_sockaddr(res->ai_addr, &addr) == 0 && janus-0.10.8/plugins/janus_videoroom.c-3837- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/transports/janus_http.c-1280- janus_network_address_string_buffer naddr_buf; janus-0.10.8/transports/janus_http.c:1281: if(janus_network_address_from_sockaddr((struct sockaddr *)addr, &naddr) != 0 || janus-0.10.8/transports/janus_http.c-1282- janus_network_address_to_string_buffer(&naddr, &naddr_buf) != 0) { ############################################## janus-0.10.8/transports/janus_http.c-1299- janus_network_address_string_buffer naddr_buf; janus-0.10.8/transports/janus_http.c:1300: if(janus_network_address_from_sockaddr((struct sockaddr *)addr, &naddr) != 0 || janus-0.10.8/transports/janus_http.c-1301- janus_network_address_to_string_buffer(&naddr, &naddr_buf) != 0) { ############################################## janus-0.10.8/transports/janus_http.c-1357- janus_network_address_string_buffer addr_buf; janus-0.10.8/transports/janus_http.c:1358: if(janus_network_address_from_sockaddr((struct sockaddr *)conninfo->client_addr, &addr) == 0 && janus-0.10.8/transports/janus_http.c-1359- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/transports/janus_http.c-1753- janus_network_address_string_buffer addr_buf; janus-0.10.8/transports/janus_http.c:1754: if(janus_network_address_from_sockaddr((struct sockaddr *)conninfo->client_addr, &addr) == 0 && janus-0.10.8/transports/janus_http.c-1755- janus_network_address_to_string_buffer(&addr, &addr_buf) == 0) { ############################################## janus-0.10.8/turnrest.c-261- if(getaddrinfo(uri_parts[1], NULL, NULL, &res) != 0 || janus-0.10.8/turnrest.c:262: janus_network_address_from_sockaddr(res->ai_addr, &addr) != 0 || janus-0.10.8/turnrest.c-263- janus_network_address_to_string_buffer(&addr, &addr_buf) != 0) { ############################################## janus-0.10.8/.pc/1003_javascript_config.patch/html/e2etest.js-632- if(keyIdentifier !== currentKeyIdentifier) { janus-0.10.8/.pc/1003_javascript_config.patch/html/e2etest.js:633: console.log(`Key identifier mismatch, got ${keyIdentifier} expected ${currentKeyIdentifier}.`); janus-0.10.8/.pc/1003_javascript_config.patch/html/e2etest.js-634- return;