403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/net/belle-sip/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/belle-sip/files/patch-src_dns_dns.c
--- src/dns/dns.c.orig	2022-06-15 16:24:13 UTC
+++ src/dns/dns.c
@@ -5012,7 +5012,7 @@ static int guess_scope_id(void){
 	struct ifaddrs *ifp;
 	struct ifaddrs *ifpstart;
 	int scope_id = -1;
-	
+
 	if (getifaddrs(&ifpstart) < 0) {
 		return -1;
 	}
@@ -5035,7 +5035,7 @@ static int guess_scope_id(void){
 		}
 	}
 	freeifaddrs(ifpstart);
-	
+
 	return scope_id;
 }
 
@@ -5044,7 +5044,7 @@ int dns_resconf_loadfromresolv(struct dns_resolv_conf 
 	union res_sockaddr_union addresses[3];
 	int i,error,write_index;
 
-
+    memset(&res, 0, sizeof(res));
 	if ((error = res_ninit(&res))) {
 		return error;
 	}

Youez - 2016 - github.com/yon3zu
LinuXploit