diff options
| author | millert <> | 2005-07-24 18:47:59 +0000 | 
|---|---|---|
| committer | millert <> | 2005-07-24 18:47:59 +0000 | 
| commit | 784cdc2a0a4ce17f4ae227250d54312c4574847e (patch) | |
| tree | eb0cf00f08dc3ed1f673a01564de41c73162d6c4 /src/lib/libc/stdlib | |
| parent | 16995c81478ea86d9b0d1ed0b4ca140b296d023f (diff) | |
| download | openbsd-784cdc2a0a4ce17f4ae227250d54312c4574847e.tar.gz openbsd-784cdc2a0a4ce17f4ae227250d54312c4574847e.tar.bz2 openbsd-784cdc2a0a4ce17f4ae227250d54312c4574847e.zip | |
In _gethtent() ignore host.h_length if it is set to 0.  Previously
we only ignored it if host.h_addrtype was AF_UNSPEC.  Set host.h_length
to 0 in _gethtbyname2() since that function does not take a length
argument.  Problem found by jaredy@
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
