diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-03-16 21:25:59 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-03-16 21:25:59 +0000 |
commit | d51d5c3ca53d4022fa3bd9f0a938e5cea4169c2a (patch) | |
tree | ead06bf99b092dc1b18f2a136c2e3b468c20cbda /lkm | |
parent | 47ab1071a249efe8a7f69b6dfd4549af49f527de (diff) | |
download | FreeBSD-src-d51d5c3ca53d4022fa3bd9f0a938e5cea4169c2a.zip FreeBSD-src-d51d5c3ca53d4022fa3bd9f0a938e5cea4169c2a.tar.gz |
gethostbynis.c:
- 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.
Diffstat (limited to 'lkm')
0 files changed, 0 insertions, 0 deletions