=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ckermit-305~alpha02/makefile-1051- echo "Creating $(DESTDIR)...";\ ckermit-305~alpha02/makefile:1052: DESTDIR=`echo $(DESTDIR) | sed 's!/*$$!!'`;\ ckermit-305~alpha02/makefile-1053- mkdir $$DESTDIR || exit 1;\ ############################################## ckermit-305~alpha02/makefile-1212- fi; \ ckermit-305~alpha02/makefile:1213: X=`grep '^CKVER='$(CKVER)'$$' ./UNINSTALL || :`;\ ckermit-305~alpha02/makefile-1214- if test -z "$$X"; then\ ############################################## ckermit-305~alpha02/makefile-1224- rmdir "$$dir" 2>&- || return && echo "$$dir" && flag=D;\ ckermit-305~alpha02/makefile:1225: dir=`echo "$$dir" | sed 's!/[^/]*/*$$!!'`;\ ckermit-305~alpha02/makefile-1226- done; \ ############################################## ckermit-305~alpha02/makefile-3899- GSSAPILIB=''; \ ckermit-305~alpha02/makefile:3900: K5DIR=`echo $(K5LIB) | sed 's|-L||'`; \ ckermit-305~alpha02/makefile-3901- echo K5DIR=$$K5DIR; \ ############################################## ckermit-305~alpha02/makefile-5359-hpux-header: ckermit-305~alpha02/makefile:5360: @HPUX=`uname -r | sed -e 's/^[^1-9]*//' -e 's/\.00$$/.0/'` ; \ ckermit-305~alpha02/makefile-5361- [ "$(MESSAGE0)" ] && MESSAGE1="$(MESSAGE0)" ; \ ############################################## ckermit-305~alpha02/makefile-6249- "LIBS=$(LIBS) $$HAVE_LIBCURSES \ ckermit-305~alpha02/makefile:6250: `if test -n '$$HAVE_OPENPTY'; then echo -lutil; fi` \ ckermit-305~alpha02/makefile-6251- `if test -f /usr/lib64/libresolv.a || test -f /usr/lib64/libresolv.so \ ############################################## ckermit-305~alpha02/makefile-6340- GSSAPILIB='-lgssapi_krb5'; \ ckermit-305~alpha02/makefile:6341: else K5DIR=`echo $(K5LIB) | sed 's|-L||'`; \ ckermit-305~alpha02/makefile-6342- if ls $$K5DIR/libgssapi_krb5* > /dev/null 2> /dev/null; then \ ############################################## ckermit-305~alpha02/makefile-6439- GSSAPILIB='-lgssapi_krb5'; \ ckermit-305~alpha02/makefile:6440: else K5DIR=`echo $(K5LIB) | sed 's|-L||'`; \ ckermit-305~alpha02/makefile-6441- if ls $$K5DIR/libgssapi_krb5* > /dev/null 2> /dev/null; then \ ############################################## ckermit-305~alpha02/ckcftp.c-12157- ckermit-305~alpha02/ckcftp.c:12158: if (cc_execute(ckjaddr(sendcancel), doftpsend, failftpsend) < 0) ckermit-305~alpha02/ckcftp.c-12159- return(-1); ############################################## ckermit-305~alpha02/ckcftp.c-12161- return(-1); ckermit-305~alpha02/ckcftp.c:12162: if (cc_execute(ckjaddr(sendcancel), doftpsend2, failftpsend2) < 0) ckermit-305~alpha02/ckcftp.c-12163- return(-1); ############################################## ckermit-305~alpha02/ckcftp.c-13033- ftprecv.oldintr = signal(SIGINT, cancelrecv); ckermit-305~alpha02/ckcftp.c:13034: if (cc_execute(ckjaddr(recvcancel), doftprecv, failftprecv) < 0) ckermit-305~alpha02/ckcftp.c-13035- return -1; ############################################## ckermit-305~alpha02/ckcftp.c-13046- ckermit-305~alpha02/ckcftp.c:13047: if (cc_execute(ckjaddr(recvcancel), doftprecv2, failftprecv2) < 0) ckermit-305~alpha02/ckcftp.c-13048- return -1; ############################################## ckermit-305~alpha02/ckcftp.c-13118- ckermit-305~alpha02/ckcftp.c:13119: hisctladdr.sin_addr.s_addr = inet_addr(host); ckermit-305~alpha02/ckcftp.c-13120- if (hisctladdr.sin_addr.s_addr != INADDR_NONE) /* 2010-03-29 */ ############################################## ckermit-305~alpha02/ckcftp.c-14707- memset((char *)&hisctladdr, 0, sizeof (hisctladdr)); ckermit-305~alpha02/ckcftp.c:14708: hisctladdr.sin_addr.s_addr = inet_addr(host); ckermit-305~alpha02/ckcftp.c-14709- if (hisctladdr.sin_addr.s_addr != INADDR_NONE) /* 2010-03-29 */ ############################################## ckermit-305~alpha02/ckcnet.c-1570-unsigned long ckermit-305~alpha02/ckcnet.c:1571:inet_addr(name) char *name; { ckermit-305~alpha02/ckcnet.c-1572- unsigned long addr; ############################################## ckermit-305~alpha02/ckcnet.c-2526- } ckermit-305~alpha02/ckcnet.c:2527: host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET); ckermit-305~alpha02/ckcnet.c-2528- debug(F110,"tcpsocket_open gethostbyaddr",host ? "OK" : "FAILED",0); ############################################## ckermit-305~alpha02/ckcnet.c-2723-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:2724: inaddrx = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-2725- saddr.sin_addr.s_addr = *(unsigned long *)&inaddrx; ckermit-305~alpha02/ckcnet.c-2726-#else ckermit-305~alpha02/ckcnet.c:2727: saddr.sin_addr.s_addr = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-2728-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-2971- } ckermit-305~alpha02/ckcnet.c:2972: if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ckermit-305~alpha02/ckcnet.c-2973- host = ck_copyhostent(host); ############################################## ckermit-305~alpha02/ckcnet.c-3113-char * ckermit-305~alpha02/ckcnet.c:3114:ckname2addr(name) char * name; ckermit-305~alpha02/ckcnet.c-3115-{ ############################################## ckermit-305~alpha02/ckcnet.c-3144- ckermit-305~alpha02/ckcnet.c:3145: sin_addr.s_addr = inet_addr(addr); ckermit-305~alpha02/ckcnet.c:3146: host = gethostbyaddr((char *)&sin_addr,4,AF_INET); ckermit-305~alpha02/ckcnet.c-3147- if (host) { ############################################## ckermit-305~alpha02/ckcnet.c-3211- } ckermit-305~alpha02/ckcnet.c:3212: host = gethostbyaddr((char *)&saddr.sin_addr,4,AF_INET); ckermit-305~alpha02/ckcnet.c-3213- if (host) { ############################################## ckermit-305~alpha02/ckcnet.c-3293-#endif /* NT */ ckermit-305~alpha02/ckcnet.c:3294: host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET); ckermit-305~alpha02/ckcnet.c-3295- if (host) { ############################################## ckermit-305~alpha02/ckcnet.c-3553-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:3554:/* inet_addr() is of type struct in_addr */ ckermit-305~alpha02/ckcnet.c-3555-#ifdef datageneral ckermit-305~alpha02/ckcnet.c:3556: extern struct in_addr inet_addr(); ckermit-305~alpha02/ckcnet.c-3557-#else ckermit-305~alpha02/ckcnet.c-3558-#ifdef HPUX5WINTCP ckermit-305~alpha02/ckcnet.c:3559: extern struct in_addr inet_addr(); ckermit-305~alpha02/ckcnet.c-3560-#endif /* HPUX5WINTCP */ ############################################## ckermit-305~alpha02/ckcnet.c-4129-/* ckermit-305~alpha02/ckcnet.c:4130: NOTE: Originally the inet_addr() check was #ifdef NT, but is enabled for ckermit-305~alpha02/ckcnet.c-4131- all as of 20 Sep 97, to allow people to "set host" to a specific numeric IP ############################################## ckermit-305~alpha02/ckcnet.c-4147-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:4148: iax = inet_addr(namecopy); ckermit-305~alpha02/ckcnet.c-4149- debug(F111,"netopen inet_addr",namecopy,iax.s_addr); ############################################## ckermit-305~alpha02/ckcnet.c-4151-#ifdef INADDR_NONE ckermit-305~alpha02/ckcnet.c:4152: iax.s_addr = inet_addr(namecopy); ckermit-305~alpha02/ckcnet.c-4153- debug(F111,"netopen inet_addr",namecopy,iax.s_addr); ############################################## ckermit-305~alpha02/ckcnet.c-4155-#ifdef SOLARIS ckermit-305~alpha02/ckcnet.c:4156: /* In Solaris inet_addr() is of type in_addr_t which is uint32_t */ ckermit-305~alpha02/ckcnet.c-4157- /* (unsigned) yet it returns -1 (signed) on failure. */ ckermit-305~alpha02/ckcnet.c-4158- /* It makes a difference in 64-bit builds. */ ckermit-305~alpha02/ckcnet.c:4159: rc_inet_addr = inet_addr(namecopy); /* Assign return code to an int */ ckermit-305~alpha02/ckcnet.c-4160- iax = (unsigned) rc_inet_addr; /* and from there to whatever.. */ ############################################## ckermit-305~alpha02/ckcnet.c-4162-#ifndef datageneral ckermit-305~alpha02/ckcnet.c:4163: iax = (unsigned int) inet_addr(namecopy); ckermit-305~alpha02/ckcnet.c-4164-#else ############################################## ckermit-305~alpha02/ckcnet.c-4252-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:4253:/* inet_addr() is of type struct in_addr */ ckermit-305~alpha02/ckcnet.c-4254- struct in_addr ina; ############################################## ckermit-305~alpha02/ckcnet.c-4256- debug(F100,"netopen gethostbyname == NULL: INADDRX","",0); ckermit-305~alpha02/ckcnet.c:4257: ina = inet_addr(namecopy); ckermit-305~alpha02/ckcnet.c-4258- uu = *(unsigned int *)&ina; ckermit-305~alpha02/ckcnet.c-4259-#else /* Not INADDRX */ ckermit-305~alpha02/ckcnet.c:4260:/* inet_addr() is unsigned long */ ckermit-305~alpha02/ckcnet.c-4261- unsigned long uu; ckermit-305~alpha02/ckcnet.c-4262- debug(F100,"netopen gethostbyname == NULL: Not INADDRX","",0); ckermit-305~alpha02/ckcnet.c:4263: uu = inet_addr(namecopy); ckermit-305~alpha02/ckcnet.c-4264-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-4370-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:4371: inaddrx = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-4372- sin.sin_addr.s_addr = *(unsigned long *)&inaddrx; ckermit-305~alpha02/ckcnet.c-4373-#else ckermit-305~alpha02/ckcnet.c:4374: sin.sin_addr.s_addr = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-4375-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-4472-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:4473: inaddrx = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-4474- sin.sin_addr.s_addr = *(unsigned long *)&inaddrx; ckermit-305~alpha02/ckcnet.c-4475-#else ckermit-305~alpha02/ckcnet.c:4476: sin.sin_addr.s_addr = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-4477-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-4870- Note: This does not work on Windows 95 or Windows NT 3.5x. This is because ckermit-305~alpha02/ckcnet.c:4871: of the Microsoft implementation of gethostbyaddr() in both Winsock 1.1 ckermit-305~alpha02/ckcnet.c-4872- and Winsock 2.0 on those platforms. Their algorithm is: ############################################## ckermit-305~alpha02/ckcnet.c-4880- ckermit-305~alpha02/ckcnet.c:4881: The problem is the use of the HOSTENT cache. It means that gethostbyaddr() ckermit-305~alpha02/ckcnet.c-4882- can not be used to resolve the real name of machine if it was originally ############################################## ckermit-305~alpha02/ckcnet.c-4905- } ckermit-305~alpha02/ckcnet.c:4906: if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ckermit-305~alpha02/ckcnet.c-4907- char * s; ############################################## ckermit-305~alpha02/ckcnet.c-6256- debug(F101,"netinc alarm","",timo); ckermit-305~alpha02/ckcnet.c:6257: x = alrm_execute(ckjaddr(njbuf),timo,nettout,donetinc,failnetinc); ckermit-305~alpha02/ckcnet.c-6258- ttimoff(); /* Timer off. */ ############################################## ckermit-305~alpha02/ckcnet.c-6940- ckermit-305~alpha02/ckcnet.c:6941:/* getlocalipaddr() attempts to resolve an IP Address for the local machine. ckermit-305~alpha02/ckcnet.c-6942- * If the host is multi-homed it returns only one address. ############################################## ckermit-305~alpha02/ckcnet.c-6971-int ckermit-305~alpha02/ckcnet.c:6972:getlocalipaddr() { ckermit-305~alpha02/ckcnet.c-6973-#ifndef datageneral ############################################## ckermit-305~alpha02/ckcnet.c-6998-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:6999: inaddrx = inet_addr("128.127.50.1"); ckermit-305~alpha02/ckcnet.c-7000- r_sa.sin_addr.s_addr = *(unsigned long *)&inaddrx; ckermit-305~alpha02/ckcnet.c-7001-#else ckermit-305~alpha02/ckcnet.c:7002: r_sa.sin_addr.s_addr = inet_addr("128.127.50.1"); ckermit-305~alpha02/ckcnet.c-7003-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-10265-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:10266:/* inet_addr() is of type struct in_addr */ ckermit-305~alpha02/ckcnet.c-10267-#ifdef datageneral ckermit-305~alpha02/ckcnet.c:10268: extern struct in_addr inet_addr(); ckermit-305~alpha02/ckcnet.c-10269-#else ckermit-305~alpha02/ckcnet.c-10270-#ifdef HPUX5WINTCP ckermit-305~alpha02/ckcnet.c:10271: extern struct in_addr inet_addr(); ckermit-305~alpha02/ckcnet.c-10272-#endif /* HPUX5WINTCP */ ############################################## ckermit-305~alpha02/ckcnet.c-10381-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:10382: iax = inet_addr(http_ip[0]?http_ip:hostname); ckermit-305~alpha02/ckcnet.c-10383- debug(F111,"http_open inet_addr",http_ip[0]?http_ip:hostname,iax.s_addr); ############################################## ckermit-305~alpha02/ckcnet.c-10385-#ifdef INADDR_NONE ckermit-305~alpha02/ckcnet.c:10386: iax.s_addr = inet_addr(http_ip[0]?http_ip:hostname); ckermit-305~alpha02/ckcnet.c-10387- debug(F111,"http_open inet_addr",http_ip[0]?http_ip:hostname,iax.s_addr); ############################################## ckermit-305~alpha02/ckcnet.c-10389-#ifndef datageneral ckermit-305~alpha02/ckcnet.c:10390: iax = (unsigned int) inet_addr(http_ip[0]?http_ip:hostname); ckermit-305~alpha02/ckcnet.c-10391-#else ############################################## ckermit-305~alpha02/ckcnet.c-10454-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:10455:/* inet_addr() is of type struct in_addr */ ckermit-305~alpha02/ckcnet.c-10456- struct in_addr ina; ############################################## ckermit-305~alpha02/ckcnet.c-10458- debug(F100,"http_open gethostbyname == NULL: INADDRX","",0); ckermit-305~alpha02/ckcnet.c:10459: ina = inet_addr(http_ip[0]?http_ip:hostname); ckermit-305~alpha02/ckcnet.c-10460- uu = *(unsigned int *)&ina; ckermit-305~alpha02/ckcnet.c-10461-#else /* Not INADDRX */ ckermit-305~alpha02/ckcnet.c:10462:/* inet_addr() is unsigned long */ ckermit-305~alpha02/ckcnet.c-10463- unsigned long uu; ckermit-305~alpha02/ckcnet.c-10464- debug(F100,"http_open gethostbyname == NULL: Not INADDRX","",0); ckermit-305~alpha02/ckcnet.c:10465: uu = inet_addr(http_ip[0]?http_ip:hostname); ckermit-305~alpha02/ckcnet.c-10466-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-10543-#ifdef INADDRX ckermit-305~alpha02/ckcnet.c:10544: inaddrx = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-10545- sin.sin_addr.s_addr = *(unsigned long *)&inaddrx; ckermit-305~alpha02/ckcnet.c-10546-#else ckermit-305~alpha02/ckcnet.c:10547: sin.sin_addr.s_addr = inet_addr(tcp_address); ckermit-305~alpha02/ckcnet.c-10548-#endif /* INADDRX */ ############################################## ckermit-305~alpha02/ckcnet.c-10789- } ckermit-305~alpha02/ckcnet.c:10790: if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ckermit-305~alpha02/ckcnet.c-10791- char * s; ############################################## ckermit-305~alpha02/ckcnet.c-13765- saddr.sin_family = AF_INET; ckermit-305~alpha02/ckcnet.c:13766: saddr.sin_addr.s_addr = inet_addr(myipaddr); ckermit-305~alpha02/ckcnet.c-13767- saddr.sin_port = htons(port); ############################################## ckermit-305~alpha02/ckcnet.c-13803- if (!myipaddr[0]) ckermit-305~alpha02/ckcnet.c:13804: getlocalipaddr(); ckermit-305~alpha02/ckcnet.c-13805- if ( myipaddr[0] ) ############################################## ckermit-305~alpha02/ckcnet.c-13908- debug(F110,"fwdx_create_client_channel() ip-address",buf,0); ckermit-305~alpha02/ckcnet.c:13909: saddr.sin_addr.s_addr = inet_addr(buf); ckermit-305~alpha02/ckcnet.c-13910- if ( saddr.sin_addr.s_addr == (unsigned long) -1 ############################################## ckermit-305~alpha02/ckcnet.c-14045- debug(F110,"fwdx_server_avail() ip-address",buf,0); ckermit-305~alpha02/ckcnet.c:14046: saddr.sin_addr.s_addr = inet_addr(buf); ckermit-305~alpha02/ckcnet.c-14047- if ( saddr.sin_addr.s_addr == (unsigned long) -1 ############################################## ckermit-305~alpha02/ckcnet.h-843-#else /* OXOS */ ckermit-305~alpha02/ckcnet.h:844:/* In too many releases of X/OS, <arpa/inet.h> declares inet_addr() as ckermit-305~alpha02/ckcnet.h-845- * ``struct in_addr''. This is definitively wrong, and could cause ckermit-305~alpha02/ckcnet.h:846: * core dumps. Instead of including that bad file, inet_addr() is ckermit-305~alpha02/ckcnet.h-847- * correctly declared here. Of course, all the declarations done there ############################################## ckermit-305~alpha02/ckcnet.h-849- */ ckermit-305~alpha02/ckcnet.h:850:unsigned long inet_addr(); ckermit-305~alpha02/ckcnet.h-851-char *inet_ntoa(); ckermit-305~alpha02/ckcnet.h:852:struct in_addr inet_makeaddr(); ckermit-305~alpha02/ckcnet.h-853-unsigned long inet_network(); ############################################## ckermit-305~alpha02/ckcnet.h-879-#define ENOTEMPTY ORG_NEMPTY ckermit-305~alpha02/ckcnet.h:880:#include <netinet/tcp.h> /* for inet_addr() */ ckermit-305~alpha02/ckcnet.h-881-#endif /* I386IX */ ckermit-305~alpha02/ckcnet.h-882-/* ckermit-305~alpha02/ckcnet.h:883: Data type of the inet_addr() function... ckermit-305~alpha02/ckcnet.h-884- We define INADDRX if it is of type struct inaddr. ############################################## ckermit-305~alpha02/ckcsig.h-61-} ckjmpbuf; ckermit-305~alpha02/ckcsig.h:62:#else /* NTASM */ ckermit-305~alpha02/ckcsig.h-63-typedef jmp_buf ckjmpbuf; ckermit-305~alpha02/ckcsig.h:64:#endif /* NTASM */ ckermit-305~alpha02/ckcsig.h-65-#else ############################################## ckermit-305~alpha02/ckcsig.h-85-typedef ckjmpbuf * ckjptr; ckermit-305~alpha02/ckcsig.h:86:#define ckjaddr(x) & x ckermit-305~alpha02/ckcsig.h-87-#define ckjdref(x) * x ############################################## ckermit-305~alpha02/ckcsig.h-157-} ckermit-305~alpha02/ckcsig.h:158:#else /* NTASM */ ckermit-305~alpha02/ckcsig.h-159-void crash( void ) ; ############################################## ckermit-305~alpha02/ckcsig.h-185-} ckermit-305~alpha02/ckcsig.h:186:#endif /* NTASM */ ckermit-305~alpha02/ckcsig.h-187-#endif /* NTSIG */ ############################################## ckermit-305~alpha02/ckcsig.h-194-typedef ckjmpbuf ckjptr; ckermit-305~alpha02/ckcsig.h:195:#define ckjaddr(x) x ckermit-305~alpha02/ckcsig.h-196-#define ckjdref(x) x ############################################## ckermit-305~alpha02/ckctel.c-1443- gethostname(address, sizeof(address) - 1); ckermit-305~alpha02/ckctel.c:1444: real_xauth = XauGetAuthByAddr(family, ckermit-305~alpha02/ckctel.c-1445- strlen(address), ############################################## ckermit-305~alpha02/ckctel.c-1450- else if (family == FamilyInternet) { ckermit-305~alpha02/ckctel.c:1451: /* call with address = 4 bytes numeric ip addr (MSB) */ ckermit-305~alpha02/ckctel.c-1452- struct hostent *hi; ckermit-305~alpha02/ckctel.c-1453- if (hi = gethostbyname(host)) ckermit-305~alpha02/ckctel.c:1454: real_xauth = XauGetAuthByAddr(family, 4, ckermit-305~alpha02/ckctel.c-1455- hi->h_addr, strlen(disp_no), ############################################## ckermit-305~alpha02/ckctel.c-2003- gethostname(address, sizeof(address) - 1); ckermit-305~alpha02/ckctel.c:2004: real_xauth = XauGetAuthByAddr(family, ckermit-305~alpha02/ckctel.c-2005- strlen(address), ############################################## ckermit-305~alpha02/ckctel.c-2011- else if (family == FamilyInternet) { ckermit-305~alpha02/ckctel.c:2012: /* call with address = 4 bytes numeric ip addr (MSB) */ ckermit-305~alpha02/ckctel.c-2013- struct hostent *hi; ckermit-305~alpha02/ckctel.c-2014- if (hi = gethostbyname(host)) ckermit-305~alpha02/ckctel.c:2015: real_xauth = XauGetAuthByAddr(family, 4, ckermit-305~alpha02/ckctel.c-2016- hi->h_addr, ############################################## ckermit-305~alpha02/ckctel.h-1115- ckermit-305~alpha02/ckctel.h:1116:Xauth *XauGetAuthByAddr( ckermit-305~alpha02/ckctel.h-1117-unsigned int /* family */, ############################################## ckermit-305~alpha02/ckuath.c-4117- /* Get Instance */ ckermit-305~alpha02/ckuath.c:4118: inaddr.s_addr = inet_addr(myipaddr); ckermit-305~alpha02/ckuath.c:4119: host = gethostbyaddr((unsigned char *)&inaddr,4,PF_INET); ckermit-305~alpha02/ckuath.c-4120- if ( host ) { ############################################## ckermit-305~alpha02/ckuath.c-7981- krb5_address ** local_addrs=NULL; ckermit-305~alpha02/ckuath.c:7982: krb5_os_localaddr(kcontext, &local_addrs); ckermit-305~alpha02/ckuath.c-7983- i = 0; ############################################## ckermit-305~alpha02/ckuath.c-8029- ckermit-305~alpha02/ckuath.c:8030: ipaddr = inet_addr(init->addrs[j]); ckermit-305~alpha02/ckuath.c-8031- memcpy(addrs[i]->contents,&ipaddr,4); /* safe */ ############################################## ckermit-305~alpha02/ckuath.c-8948-#ifdef CK_ANSIC ckermit-305~alpha02/ckuath.c:8949:one_addr(krb5_address *a) ckermit-305~alpha02/ckuath.c-8950-#else ckermit-305~alpha02/ckuath.c:8951:one_addr(a) krb5_address *a; ckermit-305~alpha02/ckuath.c-8952-#endif ############################################## ckermit-305~alpha02/ckuath.c-8959- if (tcp_rdns != SET_OFF) { ckermit-305~alpha02/ckuath.c:8960: h = gethostbyaddr(a->contents, 4, AF_INET); ckermit-305~alpha02/ckuath.c-8961- if (h) { ############################################## ckermit-305~alpha02/ckuath.c-9090- printf(" Addresses: "); ckermit-305~alpha02/ckuath.c:9091: one_addr(cred->addresses[i]); ckermit-305~alpha02/ckuath.c-9092- printf("\r\n"); ############################################## ckermit-305~alpha02/ckuath.c-10651- /* Also make sure it's for the correct IP address */ ckermit-305~alpha02/ckuath.c:10652: retval = krb5_os_localaddr(kcontext, &myAddrs); ckermit-305~alpha02/ckuath.c-10653- if (retval) { ############################################## ckermit-305~alpha02/ckuath.c-12775-Xauth * ckermit-305~alpha02/ckuath.c:12776:XauGetAuthByAddr (family, address_length, address, ckermit-305~alpha02/ckuath.c-12777- number_length, number, ############################################## ckermit-305~alpha02/ckucns.c-908- if (myipaddr[0] == 0) ckermit-305~alpha02/ckucns.c:909: getlocalipaddr(); ckermit-305~alpha02/ckucns.c-910- ############################################## ckermit-305~alpha02/ckucns.c-946- cli_addr.sin_family = AF_INET; ckermit-305~alpha02/ckucns.c:947: cli_addr.sin_addr.s_addr = inet_addr(myipaddr[0]?myipaddr:"127.0.0.1"); ckermit-305~alpha02/ckucns.c-948- cli_addr.sin_port = serv_addr.sin_port; ############################################## ckermit-305~alpha02/ckudia.c-4544-#ifdef NT ckermit-305~alpha02/ckudia.c:4545: cklongjmp(ckjaddr(sjbuf),1); ckermit-305~alpha02/ckudia.c-4546-#else /* NT */ ############################################## ckermit-305~alpha02/ckudia.c-4580-#ifdef NT ckermit-305~alpha02/ckudia.c:4581: cklongjmp(ckjaddr(sjbuf),1); ckermit-305~alpha02/ckudia.c-4582-#else /* NT */ ############################################## ckermit-305~alpha02/ckudia.c-6848- savint = signal( SIGINT, dialint ) ; /* And terminal interrupt handler. */ ckermit-305~alpha02/ckudia.c:6849: cc_alrm_execute(ckjaddr(sjbuf), 0, dialtime, _dodial, faildial); ckermit-305~alpha02/ckudia.c-6850- ############################################## ckermit-305~alpha02/ckudia.c-6910-#ifdef NT ckermit-305~alpha02/ckudia.c:6911: cklongjmp(ckjaddr(okbuf),1); ckermit-305~alpha02/ckudia.c-6912-#else /* NT */ ############################################## ckermit-305~alpha02/ckudia.c-7109- debug(F100,"about to alrm_execute dook()","",0); ckermit-305~alpha02/ckudia.c:7110: alrm_execute( ckjaddr(okbuf), n, oktimo, dook, failok ) ; ckermit-305~alpha02/ckudia.c-7111- debug(F100,"returning from alrm_execute dook()","",0); ############################################## ckermit-305~alpha02/ckuscr.c-151-#ifdef NT ckermit-305~alpha02/ckuscr.c:152: cklongjmp(ckjaddr(alrmrng),1); ckermit-305~alpha02/ckuscr.c-153-#else /* NT */ ############################################## ckermit-305~alpha02/ckuscr.c-389- ckermit-305~alpha02/ckuscr.c:390: alrm_execute(ckjaddr(alrmrng), exp_alrm, scrtime, dorseq, failrseq); ckermit-305~alpha02/ckuscr.c-391- ############################################## ckermit-305~alpha02/ckuscr.c-511- delay = sequenc(); ckermit-305~alpha02/ckuscr.c:512: alrm_execute( ckjaddr(alrmrng), SND_ALRM, scrtime, dooseq, failoseq ) ; ckermit-305~alpha02/ckuscr.c-513- ############################################## ckermit-305~alpha02/ckusig.c-74-} ckermit-305~alpha02/ckusig.c:75:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-76- ############################################## ckermit-305~alpha02/ckusig.c-133-#endif /* COMMENT */ ckermit-305~alpha02/ckusig.c:134:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-135- if ( ############################################## ckermit-305~alpha02/ckusig.c-139- cksetjmp(ckjdref(sj_buf)) ckermit-305~alpha02/ckusig.c:140:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-141- ) { ############################################## ckermit-305~alpha02/ckusig.c-147- isinterrupted = 0 ; ckermit-305~alpha02/ckusig.c:148:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-149- (*failfunc)(NULL) ; ############################################## ckermit-305~alpha02/ckusig.c-151- rc = sj_buf->retcode ; ckermit-305~alpha02/ckusig.c:152:#else /* NTASM */ ckermit-305~alpha02/ckusig.c-153- rc = -1 ; ckermit-305~alpha02/ckusig.c:154:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-155- } else { ############################################## ckermit-305~alpha02/ckusig.c-232- isinterrupted = 0; ckermit-305~alpha02/ckusig.c:233:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-234- if ( ############################################## ckermit-305~alpha02/ckusig.c-238- cksetjmp(ckjdref(sj_buf)) ckermit-305~alpha02/ckusig.c:239:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-240- ) { ############################################## ckermit-305~alpha02/ckusig.c-320- isinterrupted = 0; ckermit-305~alpha02/ckusig.c:321:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-322- if ( ############################################## ckermit-305~alpha02/ckusig.c-326- cksetjmp(ckjdref(sj_buf)) ckermit-305~alpha02/ckusig.c:327:#endif /* NTASM */ ckermit-305~alpha02/ckusig.c-328- ) { ############################################## ckermit-305~alpha02/ckusig.h-46-typedef ckjmpbuf * ckjptr; ckermit-305~alpha02/ckusig.h:47:#define ckjaddr(x) & x ckermit-305~alpha02/ckusig.h-48-#define ckjdref(x) * x ############################################## ckermit-305~alpha02/ckusig.h-55-typedef ckjmpbuf ckjptr; ckermit-305~alpha02/ckusig.h:56:#define ckjaddr(x) x ckermit-305~alpha02/ckusig.h-57-#define ckjdref(x) x ############################################## ckermit-305~alpha02/ckuus2.c-11849- case FN_HSTNAM: ckermit-305~alpha02/ckuus2.c:11850: printf("\\fname2addr(s)\n\ ckermit-305~alpha02/ckuus2.c-11851- s = IP host name.\n"); ############################################## ckermit-305~alpha02/ckuus3.c-12648- i++) { ckermit-305~alpha02/ckuus3.c:12649: if (inet_addr(tmpaddrs[i]) == 0xffffffff) { ckermit-305~alpha02/ckuus3.c-12650- printf("invalid ip address: %s\n", ############################################## ckermit-305~alpha02/ckuus4.c-8509- case FN_HSTNAM: ckermit-305~alpha02/ckuus4.c:8510: p = ckname2addr(bp[0]); ckermit-305~alpha02/ckuus4.c-8511- goto fnend; ############################################## ckermit-305~alpha02/ckuus4.c-14049- if (!myipaddr[0]) ckermit-305~alpha02/ckuus4.c:14050: getlocalipaddr(); ckermit-305~alpha02/ckuus4.c-14051-#endif /* OSK */ ############################################## ckermit-305~alpha02/ckuus7.c-14887- for (i = 0; i < KRB5_NUM_OF_ADDRS && tmpaddrs[i]; i++) { ckermit-305~alpha02/ckuus7.c:14888: if (inet_addr(tmpaddrs[i]) == 0xffffffff) { ckermit-305~alpha02/ckuus7.c-14889- printf("invalid ip address: %s\n",tmpaddrs[i]); ############################################## ckermit-305~alpha02/ckuusr.h-2595-#define FN_HSTADD 144 /* \faddr2name() */ ckermit-305~alpha02/ckuusr.h:2596:#define FN_HSTNAM 145 /* \fname2addr() */ ckermit-305~alpha02/ckuusr.h-2597-#endif /* TCPSOCKET */ ############################################## ckermit-305~alpha02/ckuusx.c-3375-#ifdef NT ckermit-305~alpha02/ckuusx.c:3376: cklongjmp(ckjaddr(cmjbuf),1); ckermit-305~alpha02/ckuusx.c-3377-#else /* NT */ ############################################## ckermit-305~alpha02/ckuusx.c-7297- /* We need to perform this test because on non-TCP/IP */ ckermit-305~alpha02/ckuusx.c:7298: /* systems the call to getlocalipaddr() results in a */ ckermit-305~alpha02/ckuusx.c-7299- /* DNS Lookup which takes several minutes to time out */ ############################################## ckermit-305~alpha02/ckuusx.c-7307- ) ckermit-305~alpha02/ckuusx.c:7308: getlocalipaddr(); ckermit-305~alpha02/ckuusx.c-7309- if (myipaddr[0] && strcmp((char *)myhost,(char *)myipaddr)) ############################################## ckermit-305~alpha02/ckuusx.c-9268- extern unsigned long myxipaddr; ckermit-305~alpha02/ckuusx.c:9269: if (getlocalipaddr() > -1) { ckermit-305~alpha02/ckuusx.c-9270- myip = myxipaddr; ############################################## ckermit-305~alpha02/NOTES.TXT-7846- logs trace the difference to netopen() (of course), the spot where we ckermit-305~alpha02/NOTES.TXT:7847: test the results of inet_addr(), which is already marked suspicious for ckermit-305~alpha02/NOTES.TXT:7848: 64-bit builds. It seems that inet_addr() is of type in_addr_t, which in ckermit-305~alpha02/NOTES.TXT-7849- turn is u_int32, i.e. an unsigned 32-bit int. Yet the man page says ############################################## ckermit-305~alpha02/NOTES.TXT-8010- getsockopt(), getsockname(), and getpeername(), and the comparisons on ckermit-305~alpha02/NOTES.TXT:8011: the return value of inet_addr(). ckcnet.[ch], 27 Aug 2005. === ckermit-305~alpha02/NOTES.TXT-8012- ############################################## ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-1240-unsigned long ESPToRestore; /* Ditto */ ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c:1241:#endif /* NTASM */ ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-1242-#endif /* NT */ ############################################## ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3511- setint(); ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c:3512: cc_execute( ckjaddr(cmjbuf), dotakeini, failtakeini ); ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3513-#endif /* NOCCTRAP */ ############################################## ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3520- setint(); ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c:3521: cc_execute( ckjaddr(cmjbuf), docmdfile, failcmdfile ); ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3522-#endif /* NOCCTRAP */ ############################################## ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3581- setint(); ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c:3582: cc_execute( ckjaddr(cmjbuf), docmdline, failcmdline ); ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3583-#endif /* NOCCTRAP */ ############################################## ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3657- setint(); /* Set up command interrupt traps */ ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c:3658: if (!cc_execute(ckjaddr(cmjbuf), doicp, failicp)) ckermit-305~alpha02/.pc/ck_patch.patch/ckcmai.c-3659- break; ############################################## ckermit-305~alpha02/ckcmai.c-1240-unsigned long ESPToRestore; /* Ditto */ ckermit-305~alpha02/ckcmai.c:1241:#endif /* NTASM */ ckermit-305~alpha02/ckcmai.c-1242-#endif /* NT */ ############################################## ckermit-305~alpha02/ckcmai.c-3511- setint(); ckermit-305~alpha02/ckcmai.c:3512: cc_execute( ckjaddr(cmjbuf), dotakeini, failtakeini ); ckermit-305~alpha02/ckcmai.c-3513-#endif /* NOCCTRAP */ ############################################## ckermit-305~alpha02/ckcmai.c-3520- setint(); ckermit-305~alpha02/ckcmai.c:3521: cc_execute( ckjaddr(cmjbuf), docmdfile, failcmdfile ); ckermit-305~alpha02/ckcmai.c-3522-#endif /* NOCCTRAP */ ############################################## ckermit-305~alpha02/ckcmai.c-3581- setint(); ckermit-305~alpha02/ckcmai.c:3582: cc_execute( ckjaddr(cmjbuf), docmdline, failcmdline ); ckermit-305~alpha02/ckcmai.c-3583-#endif /* NOCCTRAP */ ############################################## ckermit-305~alpha02/ckcmai.c-3657- setint(); /* Set up command interrupt traps */ ckermit-305~alpha02/ckcmai.c:3658: if (!cc_execute(ckjaddr(cmjbuf), doicp, failicp)) ckermit-305~alpha02/ckcmai.c-3659- break;