=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== tcputils-0.6.2/ip/addr.c-24-Export int tcputils-0.6.2/ip/addr.c:25:get_inaddr(struct sockaddr_in * addr, tcputils-0.6.2/ip/addr.c-26- const char * host, ############################################## tcputils-0.6.2/ip/addr.c-39- { tcputils-0.6.2/ip/addr.c:40: addr->sin_addr.s_addr = inet_addr(host); tcputils-0.6.2/ip/addr.c-41- if (addr->sin_addr.s_addr == (unsigned long)-1) ############################################## tcputils-0.6.2/ip/ip_misc.h-4- tcputils-0.6.2/ip/ip_misc.h:5:extern int get_inaddr(struct sockaddr_in* /*addr*/, tcputils-0.6.2/ip/ip_misc.h-6- const char* /*host*/, ############################################## tcputils-0.6.2/ip/tcp_listen.c-61- tcputils-0.6.2/ip/tcp_listen.c:62: if (get_inaddr(&server, interface, port, "tcp") < 0) tcputils-0.6.2/ip/tcp_listen.c-63- return -1; ############################################## tcputils-0.6.2/ip/tcp_open.c-55- { tcputils-0.6.2/ip/tcp_open.c:56: if (get_inaddr(&local, local_host, local_port, "tcp") < 0) tcputils-0.6.2/ip/tcp_open.c-57- ERRORRET(-1); ############################################## tcputils-0.6.2/ip/tcp_open.c-62- /* Get port */ tcputils-0.6.2/ip/tcp_open.c:63: if (get_inaddr(&server, NULL, remote_port, "tcp") < 0) tcputils-0.6.2/ip/tcp_open.c-64- ERRORRET(-1); ############################################## tcputils-0.6.2/ip/tcp_open.c-66- /* Check for numerical IP address */ tcputils-0.6.2/ip/tcp_open.c:67: server.sin_addr.s_addr = inet_addr(remote_host); tcputils-0.6.2/ip/tcp_open.c-68- if (server.sin_addr.s_addr != INADDR_NONE) ############################################## tcputils-0.6.2/getpeername.c-114- tcputils-0.6.2/getpeername.c:115: host = gethostbyaddr((char*)&peer.sin_addr.s_addr, tcputils-0.6.2/getpeername.c-116- sizeof peer.sin_addr.s_addr, AF_INET); ############################################## tcputils-0.6.2/debian/patches/fix-hostname-parsing-on-64-bit-architectures.patch-9- /* Check for numerical IP address */ tcputils-0.6.2/debian/patches/fix-hostname-parsing-on-64-bit-architectures.patch:10: server.sin_addr.s_addr = inet_addr(remote_host); tcputils-0.6.2/debian/patches/fix-hostname-parsing-on-64-bit-architectures.patch-11-- if (server.sin_addr.s_addr != (unsigned long)-1) ############################################## tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c-55- { tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c:56: if (get_inaddr(&local, local_host, local_port, "tcp") < 0) tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c-57- ERRORRET(-1); ############################################## tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c-62- /* Get port */ tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c:63: if (get_inaddr(&server, NULL, remote_port, "tcp") < 0) tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c-64- ERRORRET(-1); ############################################## tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c-66- /* Check for numerical IP address */ tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c:67: server.sin_addr.s_addr = inet_addr(remote_host); tcputils-0.6.2/.pc/fix-hostname-parsing-on-64-bit-architectures.patch/ip/tcp_open.c-68- if (server.sin_addr.s_addr != (unsigned long)-1)