=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== cultivation-9+dfsg1/minorGems/network/unix/SocketUDPUnix.cpp-121- // try converting it from aaa.bbb.ccc.ddd cultivation-9+dfsg1/minorGems/network/unix/SocketUDPUnix.cpp:122: int convertedAddress = inet_addr( inAddress ); cultivation-9+dfsg1/minorGems/network/unix/SocketUDPUnix.cpp-123- ############################################## cultivation-9+dfsg1/minorGems/network/linux/gnut_net.c-88- } cultivation-9+dfsg1/minorGems/network/linux/gnut_net.c:89: if ((sinptr = get_if_addr(iface))==NULL) { cultivation-9+dfsg1/minorGems/network/linux/gnut_net.c-90- g_debug(1,"Can't get local IP address through interface, trying host name...\n"); ############################################## cultivation-9+dfsg1/minorGems/network/linux/SocketClientLinux.cpp-236- // this is obsolete on linux cultivation-9+dfsg1/minorGems/network/linux/SocketClientLinux.cpp:237: // saddr.s_addr = inet_addr( inAddress ); cultivation-9+dfsg1/minorGems/network/linux/SocketClientLinux.cpp-238- ############################################## cultivation-9+dfsg1/minorGems/network/linux/SocketLinux.cpp-352- // cultivation-9+dfsg1/minorGems/network/linux/SocketLinux.cpp:353: // struct hostent *host = gethostbyaddr( (char *) &sin.sin_addr, cultivation-9+dfsg1/minorGems/network/linux/SocketLinux.cpp-354- // sizeof sin.sin_addr, ############################################## cultivation-9+dfsg1/minorGems/network/linux/gnut_lib.h-88- cultivation-9+dfsg1/minorGems/network/linux/gnut_lib.h:89:#define inet_aton(string, ip) (ip)->s_addr = inet_addr(string) cultivation-9+dfsg1/minorGems/network/linux/gnut_lib.h-90- ############################################## cultivation-9+dfsg1/minorGems/network/win32/SocketWin32.cpp-398- // cultivation-9+dfsg1/minorGems/network/win32/SocketWin32.cpp:399: // struct hostent *host = gethostbyaddr( (char *) &sin.sin_addr, cultivation-9+dfsg1/minorGems/network/win32/SocketWin32.cpp-400- // sizeof sin.sin_addr, ############################################## cultivation-9+dfsg1/minorGems/network/win32/HostAddressWin32.cpp-155- cultivation-9+dfsg1/minorGems/network/win32/HostAddressWin32.cpp:156: unsigned long returnedValue = inet_addr( mAddressString ); cultivation-9+dfsg1/minorGems/network/win32/HostAddressWin32.cpp-157- ############################################## cultivation-9+dfsg1/minorGems/network/win32/SocketClientWin32.cpp-186- /* First try it as aaa.bbb.ccc.ddd. */ cultivation-9+dfsg1/minorGems/network/win32/SocketClientWin32.cpp:187: saddr.s_addr = inet_addr( inAddress ); cultivation-9+dfsg1/minorGems/network/win32/SocketClientWin32.cpp-188- if( saddr.s_addr != INADDR_NONE ) { ############################################## cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheckAnalyze-2- cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheckAnalyze:3:CHECKER=`dirname $0`/LeakCheck" $@" cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheckAnalyze:4:ANALYZER=`dirname $0`/leak-analyze" $1 leak.out" cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheckAnalyze-5- ############################################## cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheck-9-# needs: cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheck:10:SHLIB=`dirname $0`/LeakTracer.so cultivation-9+dfsg1/minorGems/util/development/leakTracer/LeakCheck-11-if [ ! -x $SHLIB ] ; then ############################################## cultivation-9+dfsg1/minorGems/protocol/p2p/notes.tex-36- cultivation-9+dfsg1/minorGems/protocol/p2p/notes.tex:37:For a more complex example, consider the case where $r$ is a search results set. Note that a search is itself a resource that might be offered by a host, and we might have specially-designated index nodes in the network that offer the resource of searching. Suppose $A$ sends $D_r$ to $B$. $D_r$ might contain information about the resource types to search for, as well as a set of resource descriptors. Suppose that $B$ does not have the capability to perform the requested search, but is aware of a super-node $B'$ that does have searching capabilities. $B$ has two options at this point: return a description of $B'$, or forward $D_r$ to $B'$. Since the method of executing the first option is obvious, consider the second option. $B$ forwards $D_r$ to $B'$, and $A$ waits for a response. $B'$ performs the search, constructing the set $R = \{D_{r'} \mid r'$ matches the search criteria of $r \}$. $B'$ attaches the identifier from $D_r$ to $R$ and then sends it to the return address found in $D_r$. $A$ receives $R$. By examining the identifier, $A$ knows $R$ is a response to $D_r$. cultivation-9+dfsg1/minorGems/protocol/p2p/notes.tex-38-