6daf17201b
- Fix problem described in PR #1079: _gethostbynisaddr() doesn't work. Make it accept the same arguments as all the other gethostby*addr() functions and properly convert the supplied IP address into a text string so that yp_match() can find it in the hosts.byaddr map. - Also fix potential memory leak: copy the results of yp_match() to a static buffer and free the result (yp_match() returns dynamically allocated memory). ether_addr.c: - Since I was in the neighborhood, fix ether_ntohost() and ether_hostton() so that they don't bogusly for a free(result) when yp_match() fails. |
||
---|---|---|
.. | ||
csu/i386 | ||
libF77 | ||
libI77 | ||
libc | ||
libc_r | ||
libcom_err | ||
libcompat | ||
libcrypt | ||
libcurses | ||
libdisk | ||
libedit | ||
libf2c | ||
libfakegnumalloc | ||
libforms | ||
libgnumalloc | ||
libipx | ||
libkse | ||
libkvm | ||
libm | ||
libmd | ||
libmytinfo | ||
libncurses | ||
libpam/modules | ||
libpcap | ||
libpthread | ||
libresolv | ||
librpcsvc | ||
libscsi | ||
libskey | ||
libss | ||
libtelnet | ||
libtermcap | ||
libutil | ||
libxpg4 | ||
liby | ||
msun | ||
ncurses/ncurses | ||
Makefile | ||
Makefile.inc |