diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-19 00:28:47 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-19 00:28:47 +0000 |
commit | 2309700dd3739d8e5103257887c26835e135b5b5 (patch) | |
tree | e3087e624ef786e6787b0fcd1db8ad2eb39bc12b /libutil/login_tty.c | |
parent | c5c91dc7df8e53b643395cdf0ca38a628a8d8173 (diff) |
We were failing to properly set h_errno on success, which could
cause gethostbyaddr_r to keep looping allocating more and more
memory each time till alloca finally caused a segfault. Ugh.
This fixes that as well...
-Erik
Diffstat (limited to 'libutil/login_tty.c')
0 files changed, 0 insertions, 0 deletions